Skip to content

Commit 1f7f2bb

Browse files
committed
Update reboot condition
1 parent 2fc0df0 commit 1f7f2bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/configuration/puppet.yaml.tftpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ output: { all: "| tee -a /var/log/cloud-init-output.log" }
249249
power_state:
250250
delay: now
251251
mode: reboot
252-
condition: "! dnf needs-restarting -r || (test ! -f /etc/magic-castle-release && test ! -f /run/cloud-init-failed)"
252+
condition: "test ! -f /run/cloud-init-failed && (! dnf needs-restarting -r || test ! -f /etc/magic-castle-release)"
253253

254254
# Configure owner of /var/log/cloud-init.log
255255
syslog_fix_perms: root:systemd-journal

0 commit comments

Comments
 (0)