build: Assert successful completion of cloud-init
Some checks failed
build-image / Build image (push) Failing after 6m15s
Some checks failed
build-image / Build image (push) Failing after 6m15s
This commit is contained in:
@ -18,7 +18,7 @@ runcmd:
|
||||
- truncate -s 0 /etc/hostname /etc/machine-id
|
||||
- rm -f /etc/ssh/ssh_host_* /var/lib/dbus/machine-id
|
||||
- ln -s /etc/machine-id /var/lib/dbus/machine-id
|
||||
- poweroff
|
||||
- echo "TEMPLATE_GENERATION_SUCCESS" > /var/log/template-generation-success
|
||||
|
||||
disable_root: false
|
||||
users:
|
||||
@ -30,3 +30,8 @@ users:
|
||||
- ${PUBLIC_SSHKEY}
|
||||
ssh_authorized_keys:
|
||||
- ${PUBLIC_SSHKEY}
|
||||
|
||||
power_state:
|
||||
delay: now
|
||||
mode: poweroff
|
||||
condition: true
|
||||
|
Reference in New Issue
Block a user