mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
bitwarden deployment
This commit is contained in:
commit
42ec743a00
24 changed files with 498 additions and 0 deletions
13
modules/docker_node/scripts/wait-cloud-init.sh
Executable file
13
modules/docker_node/scripts/wait-cloud-init.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# cloud-init is running at boot time and blocking access to apt.
|
||||
# Before doing anything we should wait for it to finish.
|
||||
# cloud-init creates a file after finishing boot.
|
||||
|
||||
echo "Waiting for cloud-init to finish provisioning the instance."
|
||||
while [ ! -f /var/lib/cloud/instance/boot-finished ]
|
||||
do
|
||||
echo "#"
|
||||
sleep 2
|
||||
done
|
||||
|
||||
# Wait some more to be sure
|
||||
sleep 10
|
||||
Loading…
Add table
Add a link
Reference in a new issue