Update haos-vm-v5.sh

pull/983/head
tteckster 3 years ago committed by GitHub
parent 047e50ae4d
commit 3de5326a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      vm/haos-vm-v5.sh

@ -138,7 +138,7 @@ if [ $exitstatus = 0 ]; then echo -e "${DGN}Using HAOS Version: ${BGN}$BRANCH${C
VMID=$(whiptail --inputbox "Set Virtual Machine ID" 8 58 $NEXTID --title "VIRTUAL MACHINE ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3)
exitstatus=$?
if [ -z $VMID ]; then VMID="$NEXTID"; echo -e "${DGN}Virtual Machine: ${BGN}$VMID${CL}";
elif
else
if echo "$USEDID" | egrep -q "$VMID"
then
echo -e "\n🚨 ${RD}ID $VMID is already in use${CL} \n"

Loading…
Cancel
Save