Created
June 9, 2020 09:39
-
-
Save shearluck/c6a801a043a3fc5f954762b20ca1372d to your computer and use it in GitHub Desktop.
qemu-create-attach-disk.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qemu-img create -f qcow2 /mount/path/disk.qcow2 -o preallocation=metadata 20G | |
sudo virsh attach-disk domain --source /mnt/files/VM/work/minikube.qcow2 --target vdc --cache none --persistent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment