From 1eed1f1b1e527aee68544a47baf00403271edfa5 Mon Sep 17 00:00:00 2001 From: Jack <31696646+myspaghetti@users.noreply.github.com> Date: Wed, 27 May 2020 18:56:12 +0300 Subject: [PATCH] removed redundant wait after running VBoxManage --- macos-guest-virtualbox.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/macos-guest-virtualbox.sh b/macos-guest-virtualbox.sh index ca12abe..6e3d5ff 100755 --- a/macos-guest-virtualbox.sh +++ b/macos-guest-virtualbox.sh @@ -952,12 +952,11 @@ powers off the virtual machine and detaches the device \"${macOS_release_name} b booting into the initial installer environment again." clear_input_buffer_then_read VBoxManage controlvm "${vm_name}" poweroff >/dev/null 2>&1 - for (( i=15; i>5; i-- )); do echo -ne " \r${i} "; sleep 0.5; done; echo -n " " + for (( i=10; i>0; i-- )); do echo -ne " \r${i} "; sleep 0.5; done; echo -n " " VBoxManage storagectl "${vm_name}" --remove --name SATA >/dev/null 2>&1 VBoxManage storagectl "${vm_name}" --add sata --name SATA --hostiocache on >/dev/null 2>&1 VBoxManage storageattach "${vm_name}" --storagectl SATA --port 0 \ --type hdd --nonrotational on --medium "${vm_name}.${storage_format}" - for (( i=5; i>0; i-- )); do echo -ne " \r${i} "; sleep 0.5; done; echo " " fi echo -e "For further information, such as applying EFI and NVRAM variables to enable iMessage connectivity, see the documentation with the following command:\n"