wrong dir

This commit is contained in:
kneutron 2021-04-09 06:19:20 -05:00 committed by GitHub
parent 630b2e8847
commit 7b3cc52db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +0,0 @@
#!/bin/bash
# REF:https://serverfault.com/questions/171665/how-to-attach-a-virtual-hard-disk-using-vboxmanage
# VBoxManage storageattach my-vm-name \
# --storagectl "SATA Controller" \
# --device 0 \
# --port 0 \
# --type hdd \
# --medium /path/to/my-new.vdi
VBoxManage list vms
echo 'Paste vmname'
read myvmname
# EDITME
diskk=""
VBoxManage storageattach $myvmname \
--storagectl "SATA" \
--device 0 \
--port 0 \
--type hdd \
--medium $diskk