Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I am trying to automate Ubuntu installations using Cobbler and preseed.

I referred to this officical sample seed file for Ubuntu:

I only edited the network related part in this file and now this is my sample.seed file:

I did not edit anything else. My target machine has two NICs: eth0 and eth1. Only eth1 is connected to cobbler server through a private network.

After booting the Ubuntu Mini ISO it asks me to manually select between eth0 and eth1 and also ask to manually configure ip, netmask and other details as shown here:
However, I have already set all these settings in that preseed file.

I have set my seed file location correctly as /var/lib/cobbler/kickstarts/sample.seed.

For testing purpose I disabled the second NIC, and only enabled one NIC. Then I manually set the network information. Still Ubuntu tries to use DHCP and says "can not configure network" and halts. Same issue if I use kickstart instead of preseed.

Kindly help to troubleshoot this issue. How can I make Ubuntu to autoselect eth1 and apply all other networking settings such as IP address, network mask, etc. automatically?

share|improve this question

Your problem is described in bug 855921.

If you want to use any specific interface, e.g. eth0, just pass netcfg/choose_interface=eth0 to the kernel as a boot option.

share|improve this answer

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.