Home | Mirror | Search |
[root@development ~]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 1735 2 r----- 1194.1
create a virtual harddisk
[root@development ~]# mkdir /srv/vm/ [root@development ~]# dd if=/dev/zero of=/srv/vm/centos.img bs=1M count=4096 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB) copied, 49.2547 seconds, 87.2 MB/s
ubuntu
[root@development ~]# virt-install -n centos -r 256 -f /srv/vm/centos.img --nographics -l ftp://192.168.3.9/pub/