migrate hostname

This commit is contained in:
gh2o 2014-07-20 15:49:24 -07:00
parent 060b203fbd
commit fc8ae5595c
1 changed files with 3 additions and 0 deletions

View File

@ -292,6 +292,9 @@ postbootstrap_configuration() {
# set up fstab
echo "LABEL=DOROOT / ext4 defaults 0 1" >> /archroot/etc/fstab
# set up hostname
[ -e /etc/hostname ] && cp /etc/hostname /archroot/etc/hostname
# set up shadow
(
umask 077