1
0
Fork 0

Add file /etc/hosts

This commit is contained in:
Braiden Vasco 2017-10-30 14:10:57 +00:00
parent 91e06c12cc
commit ff00d13a29
4 changed files with 3 additions and 11 deletions

View file

@ -188,8 +188,7 @@ apply_file 644 '/lib/udev/rules.d/61-partuuid.rules'
# Configure network. # Configure network.
# #
apply_file 644 '/etc/hostname' apply_file 644 '/etc/hostname'
apply_file 644 '/etc/hosts'
apply_patch '02-hosts.diff'
apply_file 644 '/etc/network/interfaces' apply_file 644 '/etc/network/interfaces'
apply_file 644 '/etc/network/interfaces.d/wlan0' apply_file 644 '/etc/network/interfaces.d/wlan0'

2
files/etc/hosts Normal file
View file

@ -0,0 +1,2 @@
127.0.0.1 localhost
127.0.0.1 barnacleos.local barnacleos

View file

@ -1,8 +0,0 @@
--- rootfs.orig/etc/hosts
+++ rootfs/etc/hosts
@@ -1,4 +1,5 @@
127.0.0.1 localhost
+127.0.1.1 barnacleos.local barnacleos
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

View file

@ -1,4 +1,3 @@
02-hosts.diff
03-passwordless-sudo.diff 03-passwordless-sudo.diff
04-bashrc.diff 04-bashrc.diff
05-useradd.diff 05-useradd.diff