Add networking.sh for docker

This commit is contained in:
Fabian 2018-10-21 15:54:49 -03:00
parent 92346f51ed
commit 1650bf85fb
2 changed files with 5 additions and 0 deletions

View file

@ -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

View 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