Created
July 17, 2016 14:00
-
-
Save sixtyfive/862d908d7227c9b35e1a6019628c7ef1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[...] | |
d-i preseed/late_command string \ | |
echo -e "\n# The secondary network interface" >> /target/etc/network/interfaces; \ | |
echo "allow-hotplug eth1" >> /target/etc/network/interfaces; \ | |
echo "iface eth1 inet dhcp" >> /target/etc/network/interfaces | |
d-i preseed/late_command string echo -e "\n# The public network interface\nallow-hotplug eth2\niface eth2 inet static\n address XXX\n netmask XXX\n gateway XXX" >> /target/etc/network/interfaces | |
d-i finish-install/keep-consoles boolean true | |
d-i finish-install/reboot_in_progress note |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment