virt-install RHEL6 help

Soldato
Joined
18 May 2010
Posts
22,893
Location
London
Need some help here. Been trying all day to get a RHEL6 VM installed using virt-install.

Here is my code:

sudo virt-install --name=vmname --file=/var/lib/libvirt/images/vmname.img --file-size=500 --nonsparse --graphics spice --vcpus=2 --ram=12288 --location=/pathto/iso/rhel-server-6.4-x86_64-dvd.iso --network bridge=br0 --os-type=linux --os-variant=rhel6

When I run it I get:

Starting install...
Retrieving file .treeinfo... | 3.2 kB 00:00 ...
Retrieving file vmlinuz... | 7.7 MB 00:00 ...
Retrieving file initrd.img... | 60 MB 00:00 ...
Allocating 'vmname.img' | 500 GB 00:04
Creating domain... | 0 B 00:00
Cannot open display:
Run 'virt-viewer --help' to see a full list of available command line options
Domain installation still in progress. You can reconnect to
the console to complete the installation process.

Any ideas?
 
Back
Top Bottom