Add networking.sh for docker
This commit is contained in:
parent
92346f51ed
commit
1650bf85fb
|
@ -46,6 +46,7 @@ COPY logind.conf /etc/systemd/logind.conf
|
|||
#COPY xinitrc /root/.xinitrc
|
||||
COPY xorg.conf /etc/X11/
|
||||
COPY fluxbox /root/.fluxbox
|
||||
COPY networking.sh /root/
|
||||
|
||||
COPY boot-9p /etc/initramfs-tools/scripts/boot-9p
|
||||
|
||||
|
|
4
docker/debian-full/networking.sh
Normal file
4
docker/debian-full/networking.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
rmmod ne2k-pci && modprobe ne2k-pci
|
||||
ifconfig enp0s5 192.168.1.5 netmask 255.255.255.0 up
|
||||
route add default gw 192.168.1.1
|
||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
Loading…
Reference in a new issue