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.
#
apply_file 644 '/etc/hostname'
apply_patch '02-hosts.diff'
apply_file 644 '/etc/hosts'
apply_file 644 '/etc/network/interfaces'
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
04-bashrc.diff
05-useradd.diff