diff --git a/build.sh b/build.sh index cfefa0a..9a4d6dc 100644 --- a/build.sh +++ b/build.sh @@ -202,8 +202,6 @@ apply_file 644 '/etc/hostname' apply_file 644 '/etc/hosts' apply_file 644 '/etc/network/interfaces' -apply_file 644 '/etc/network/interfaces.d/wlan0' -apply_file 644 '/etc/network/interfaces.d/eth0' ## # Configure Wi-Fi. diff --git a/files/etc/network/interfaces b/files/etc/network/interfaces index 97589ca..b250284 100644 --- a/files/etc/network/interfaces +++ b/files/etc/network/interfaces @@ -1,8 +1,12 @@ # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). -source /etc/network/interfaces.d/* - # The loopback network interface auto lo iface lo inet loopback + +auto eth0 +iface eth0 inet dhcp + +auto wlan0 +iface wlan0 inet dhcp diff --git a/files/etc/network/interfaces.d/eth0 b/files/etc/network/interfaces.d/eth0 deleted file mode 100644 index 8da63f0..0000000 --- a/files/etc/network/interfaces.d/eth0 +++ /dev/null @@ -1,6 +0,0 @@ -auto eth0 -iface eth0 inet static - netmask 255.255.255.0 - network 192.168.0.0 - broadcast 192.168.0.255 - address 192.168.0.1 diff --git a/files/etc/network/interfaces.d/wlan0 b/files/etc/network/interfaces.d/wlan0 deleted file mode 100644 index 3ec01e6..0000000 --- a/files/etc/network/interfaces.d/wlan0 +++ /dev/null @@ -1,6 +0,0 @@ -auto wlan0 -iface wlan0 inet static - netmask 255.255.255.0 - network 192.168.0.0 - broadcast 192.168.0.255 - address 192.168.0.1