diff --git a/kustomize/kured.yaml b/kustomize/kured.yaml index b4abdea..bf72a0c 100644 --- a/kustomize/kured.yaml +++ b/kustomize/kured.yaml @@ -18,4 +18,3 @@ spec: command: - /usr/bin/kured - --reboot-command=/usr/bin/systemctl reboot - - --reboot-sentinel=/var/run/reboot-needed diff --git a/modules/host/templates/userdata.yaml.tpl b/modules/host/templates/userdata.yaml.tpl index 254abc3..39bf5f3 100644 --- a/modules/host/templates/userdata.yaml.tpl +++ b/modules/host/templates/userdata.yaml.tpl @@ -54,6 +54,7 @@ runcmd: - systemctl reload sshd # Finishing automatic reboot via Kured setup +- echo 'REBOOT_METHOD=kured' > /etc/transactional-update.conf - rebootmgrctl set-strategy off # Reduce the default number of snapshots from 2-10 number limit, to 4