build: Assert successful completion of cloud-init
All checks were successful
build-image / Build image (push) Successful in 9m20s
All checks were successful
build-image / Build image (push) Successful in 9m20s
This commit is contained in:
@ -18,7 +18,8 @@ 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" | tee /var/log/template-generation-success
|
||||
- sync
|
||||
|
||||
disable_root: false
|
||||
users:
|
||||
@ -30,3 +31,8 @@ users:
|
||||
- ${PUBLIC_SSHKEY}
|
||||
ssh_authorized_keys:
|
||||
- ${PUBLIC_SSHKEY}
|
||||
|
||||
power_state:
|
||||
delay: now
|
||||
mode: poweroff
|
||||
condition: true
|
||||
|
Reference in New Issue
Block a user