Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The virt-install command line I used is below

sudo virt-install kvm ubuntu -v sudo virt-install -v -n golden-egg -r 256 --disk path=/var/lib/libvirt/images/golden-egg.qcow2,size=5 --os-type linux --os-variant ubuntulucid --force --cdrom=temp/ubuntu-10.04.1-server-amd64.iso --virt-type qemu --connect=qemu:///system --extra-args="interface=eth0 hostname=goldenegg domain=foo.internal netcfg/get_ipaddress= netcfg/get_netmask= netcfg/get_gateway= netcfg/get_nameservers= netcfg/disable_dhcp=true auto url="

The ubuntu installer is launching but it goes into interactive mode. I've set a small webserver up to serve the preseed file and verified that it is being served on the url specified. However the server doesn't get hit on VM creation and there are no errors in the VM console or anything else I am able to go by.

Any suggests on how to proceed to get this working.

share|improve this question

The problem is you can only use --extra-args when using --location, not when using --cdrom


share|improve this answer

You can try to use tcpdump on your server to see if your virtual machine is actually requesting the preseed file, and you can see the URL it's using. I normally specify the url as http://server/path/to/preseed.conf

share|improve this answer

Try adding "priority=critical locale=en_US" to the boot arguments.

share|improve this answer

i believe you should be using preseed/url= instead of url= and you should also include preseed/url/checksum= which IIRC contains md5 of the preseed file

share|improve this answer
According to Aliases useful with preseeding the url= argument is fine, though there is no alias for the checksum (which is unfortunate). – aculich Dec 19 '11 at 0:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.