Last active
December 30, 2015 02:59
-
-
Save shalk/7765975 to your computer and use it in GitHub Desktop.
create cvm
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
mkdir -p /cloudview/cvm/ | |
qemu-img convert -f qcow2 cvm.qcow2 -O raw /cloudview/cvm/cvm.raw | |
virt-install --hvm --name coc --ram 4096 --vcpus 4 \ | |
--disk path=/cloudview/cvm/cvm.raw --os-type "linux" --network bridge=br0 --boot hd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment