Skip to content

Commit

Permalink
Use the proper format for command arguments
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <dcassany@suse.com>
(cherry picked from commit 6853d36)
  • Loading branch information
davidcassany committed Sep 25, 2023
1 parent 42deff8 commit b14d85b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion controllers/machineselector_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,10 @@ func (r *MachineInventorySelectorReconciler) newBootstrapPlan(ctx context.Contex
},
{
CommonInstruction: applyinator.CommonInstruction{
Command: "bash -c '[ -f /var/lib/rancher/bootstrap_done ] || /var/lib/rancher/bootstrap.sh && touch /var/lib/rancher/bootstrap_done'",
Command: "bash",
Args: []string{
"-c", "[ -f /var/lib/rancher/bootstrap_done ] || /var/lib/rancher/bootstrap.sh && touch /var/lib/rancher/bootstrap_done",
},
},
},
},
Expand Down

0 comments on commit b14d85b

Please sign in to comment.