1
0
Fork 0

Add interface eth0

This commit is contained in:
Braiden Vasco 2017-07-06 21:01:16 +00:00
parent 191686d6c5
commit e66486fdbd
2 changed files with 4 additions and 0 deletions

View file

@ -268,6 +268,7 @@ chmod 644 "$ROOTFS_DIR/etc/hostname"
echo "127.0.1.1 $HOSTNAME" >>"$ROOTFS_DIR/etc/hosts" echo "127.0.1.1 $HOSTNAME" >>"$ROOTFS_DIR/etc/hosts"
apply_file 644 '/etc/network/interfaces' apply_file 644 '/etc/network/interfaces'
apply_file 644 '/etc/network/interfaces.d/eth0'
apply_file 644 '/etc/network/interfaces.d/eth1' apply_file 644 '/etc/network/interfaces.d/eth1'
## ##

View file

@ -0,0 +1,3 @@
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp