prep for merge

This commit is contained in:
brent s 2017-03-26 02:55:15 -04:00
parent 2bc7003b21
commit 69a7496219
1 changed files with 4 additions and 2 deletions

View File

@ -471,8 +471,10 @@ class archInstall(object):
f.write(self.network['hostname'] + '\n')
with open('{0}/etc/hosts'.format(self.system['chrootpath']), 'a') as f:
f.write('127.0.0.1\t{0}\t{1}\n'.format(self.network['hostname'], (self.network['hostname']).split('.')[0]))
# SET UP NETWORKING HERE
########################
# SET UP NETWORKING HERE #
# Set up networking.
##########################
chrootcmds.append(['mkinitcpio', '-p', 'linux'])
with open(os.devnull, 'w') as DEVNULL:
for c in hostscript: