From 82f78b7c8d2a9efbce90ad2c9b72799a39de8672 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 13 Nov 2014 15:27:15 +0100 Subject: [PATCH 1/1] sleep before reconnect --- vinst | 1 + 1 file changed, 1 insertion(+) diff --git a/vinst b/vinst index a07629a..07f1925 100755 --- a/vinst +++ b/vinst @@ -230,5 +230,6 @@ virt-install --connect=$QEMU_URI \ virsh --connect=$QEMU_URI console $HOSTNAME if [ $RESTART = 1 ]; then + sleep 5 virsh --connect=$QEMU_URI "start $HOSTNAME; console $HOSTNAME" fi -- 2.39.5