include network config cfiles
This commit is contained in:
parent
d1ded3265c
commit
b97d667753
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,7 @@ cat > ${dir}/etc/network/interfaces << EOF
|
||||||
auto lo
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
|
|
||||||
|
source-directory /etc/network/interfaces.d
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# find the boot interfaces at boot
|
# find the boot interfaces at boot
|
||||||
|
@ -66,6 +67,8 @@ ifup "\${dev}"
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
chmod a+rx ${dir}/etc/rc.local"
|
||||||
|
|
||||||
# ensure there is /init in the initramfs -> otherwise there is a kernel panic
|
# ensure there is /init in the initramfs -> otherwise there is a kernel panic
|
||||||
# reason: initramfs is designed to be PRE regular os, so /init usually hands over to /sbin/init
|
# reason: initramfs is designed to be PRE regular os, so /init usually hands over to /sbin/init
|
||||||
# in our case, they are just the same
|
# in our case, they are just the same
|
||||||
|
|
Loading…
Reference in a new issue