We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40bd06d commit 42deff8Copy full SHA for 42deff8
controllers/machineselector_controller.go
@@ -466,12 +466,7 @@ func (r *MachineInventorySelectorReconciler) newBootstrapPlan(ctx context.Contex
466
},
467
{
468
CommonInstruction: applyinator.CommonInstruction{
469
- Command: "/var/lib/rancher/bootstrap.sh",
470
- // Ensure local plans will be enabled, this is required to ensure the local
471
- // plan stopping elemental-system-agent is executed
472
- Env: []string{
473
- "CATTLE_LOCAL_ENABLED=true",
474
- },
+ Command: "bash -c '[ -f /var/lib/rancher/bootstrap_done ] || /var/lib/rancher/bootstrap.sh && touch /var/lib/rancher/bootstrap_done'",
475
476
477
0 commit comments