ソースを参照

added 5s sleep as the filesystem was not ready

Toastie 1 ヶ月 前
コミット
575aed9739
1 ファイル変更2 行追加0 行削除
  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