Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a script that installs ubuntu server to a new VirtualBox instance via PXE and preseeding. So far it is working great, I can run a complete install and come out with a fresh machine with one network card.

How do I make the preseeded installation configure two or more network cards?

It's not clear that d-i netcfg/choose_interface will let me specify two devices.

Likewise, hacking on /etc/network/interfaces inside a d-i preseed/late_command is defeating me (I think perhaps I'm bungling the escapes.)

What's the "right" way to do this?

share|improve this question

closed as too localized by Luis Alvarado Apr 9 '13 at 13:10

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
I completely disagree that this question is "too localized". Most servers have multiple NICs: 1-4 1GbE on-board, and with 10GbE, usually 2 on a PCIe card. I too would like suggestions on how best to enable them. –  Trevor Robinson Apr 17 '13 at 16:14
2  
It is unfortunate that this was closed as "too localized", as I came to it seeking an answer to exactly the same question. –  kdt Sep 18 '13 at 21:48
1  
I've long since moved to vagrant for my use case, which exposes multiple NIC support sanely: groups.google.com/forum/#!topic/vagrant-up/aNAlY4g3lWE –  phs Sep 18 '13 at 22:03
add comment