1
0
Fork 0

Remove network persistence patch

This commit is contained in:
Braiden Vasco 2017-07-05 08:58:12 +00:00
parent 497b21e3c2
commit ed7d3d112f
3 changed files with 0 additions and 18 deletions

View File

@ -226,12 +226,6 @@ EOF
##
# Configure network.
#
apply_patches '02-persistant-net.diff'
on_chroot << EOF
dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules
EOF
install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/"
install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces"
install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf"

View File

@ -1,11 +0,0 @@
--- rootfs.orig/lib/udev/rules.d/75-persistent-net-generator.rules
+++ rootfs/lib/udev/rules.d/75-persistent-net-generator.rules
@@ -22,7 +22,7 @@ IMPORT{cmdline}="net.ifnames"
ENV{net.ifnames}=="1", GOTO="persistent_net_generator_end"
# device name whitelist
-KERNEL!="eth*|ath*|wlan*[0-9]|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
+KERNEL!="ath*|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
GOTO="persistent_net_generator_end"
# ignore Xen virtual interfaces

View File

@ -1,5 +1,4 @@
01-no-root-login.diff
02-persistant-net.diff
03-bashrc.diff
04-useradd.diff
05-swap.diff