Skip to content

Instantly share code, notes, and snippets.

@shalk
Last active December 30, 2015 02:59
Show Gist options
  • Save shalk/7765975 to your computer and use it in GitHub Desktop.
Save shalk/7765975 to your computer and use it in GitHub Desktop.
create cvm
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