Browse Source

added 5s sleep as the filesystem was not ready

Toastie 1 month ago
parent
commit
575aed9739
1 changed files with 2 additions and 0 deletions
  1. 2 0
      startup.sh

+ 2 - 0
startup.sh

@@ -22,6 +22,8 @@ mount --verbose --bind /srv/data/guests/etc/libvirt  /etc/libvirt
 # so our KVM containers on br0 have access to the network
 iptables -v -A FORWARD -i br0 -o br0 -j ACCEPT
 
+sleep 5 # wait a bit to make sure the data volume is ready
+
 # 4. Start libvirt and docker 
 
 # Those services should have been disabled