Skip to content

Commit

Permalink
Avoid cloud-init reporting runcmd failed by making sure last command …
Browse files Browse the repository at this point in the history
…returns 0
  • Loading branch information
cmd-ntrf committed Dec 19, 2023
1 parent 81a0f4e commit 21cb03d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/configuration/puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ runcmd:
%{ endif }
# If the current image has already been configured with Magic Castle Puppet environment,
# we can start puppet and skip reboot, reducing the delay for bringing the node up.
- test -f /etc/magic-castle-release && systemctl start puppet
- test -f /etc/magic-castle-release && systemctl start puppet || true

write_files:
- content: |
Expand Down

0 comments on commit 21cb03d

Please sign in to comment.