vsphere-k8s/packer/scripts/wait-for-cloud-init.sh

6 lines
125 B
Bash
Raw Normal View History

2022-12-02 21:32:50 +00:00
#!/bin/bash -eu
echo '>> Waiting for cloud-init...'
while [ ! -f /var/lib/cloud/instance/boot-finished ]; do
sleep 1
done