I decided to go with KVM. A library called libvirt helps a lot in creating virtual machines (aka domains). Libvirt has a tool called virsh which is what we will be using.
virsh uses xml files for the configuration of the domains. To create one easily you can use the virt-install command. The files are stored are in /etc/libvirt/qemu/
virt-install \
--name moloko \
--vcpus=1 \
--disk /var/kvm/moloko,size=32 \
--ram 1024 \
--graphics vnc,password=password,listen=0.0.0.0,port=5910 \
--accelerate \
--cdrom /var/kvm/ubuntu-14.04.1-server-amd64.iso \
--os-type=linux \
--noautoconsole \
--boot cdrom,fd,hd,network,menu=on
To delete the domain:
virsh destroy moloko
virsh undefine moloko
1 comment:
Aw, this was an exceptionally nice post. Finding the
time and actual effort to create a great article… but what can I say… I procrastinate a lot and don’t manage to get anything done.
먹튀검증
온라인경마
Post a Comment