Skip to content

Commit

Permalink
Try fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Kemel <[email protected]>
  • Loading branch information
mkemel committed Dec 8, 2024
1 parent c26153d commit d07be08
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def exec(ctrl: BluechiControllerMachine, nodes: Dict[str, BluechiAgentMachine]):
exec_start = bc_agent.get_option(Section.Service, Option.ExecStart)
bc_agent.set_option(Section.Service, Option.ExecStart, exec_start + " -u")
bc_agent.set_option(Section.Service, Option.User, bluechi_user)
bc_agent.set_option(Section.Service, Option.Type, "oneshot")
node_foo.install_systemd_service(bc_agent, restart=False)

node_foo.exec_run(f"useradd {bluechi_user}")
Expand Down

0 comments on commit d07be08

Please sign in to comment.