Displaying 1 result from an estimated 1 matches for "dnssuccess".
2019 Jan 30
1
Hook problem
...tB) & ; disown
# Unfortunately, the exit in the following line doesn't force libvirt to move on to the next guest to start until the background command has itself exited
exit 1;
fi
fi
Here is the startB script, including a call to a program named in the $dnssuccess variable that does the testing of DNS availability on guest A:
#!/bin/bash
until $dnssuccess
do
echo "$0: Delaying start of guest B 10 seconds" |& logger
sleep 10;
done
# It's now OK to start guest
echo "$0: Now starting guest B" |& logger
virsh start B;
==...