mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
wrong dir
This commit is contained in:
parent
630b2e8847
commit
7b3cc52db3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user