1
0
forked from sneak/hacks

testing more

This commit is contained in:
2019-10-04 06:46:23 -07:00
parent 0c72b2c372
commit 5273235554
14 changed files with 8 additions and 7 deletions

View File

@@ -32,12 +32,12 @@ function doinstall {
fi
# copy root overlay into FAT /boot partition
rsync -avP "$THISDIR/root" "$TARGET/root"
rsync -avP "$THISDIR/root.overlay/" "$TARGET/root.overlay/"
# set hostname in overlay:
mkdir -p $TARGET/root/etc
echo "$NEWHOSTNAME" > "$TARGET/root/etc/hostname"
cat >> $TARGET/root/etc/hosts <<EOF
mkdir -p $TARGET/root.overlay/etc
echo "$NEWHOSTNAME" > "$TARGET/root.overlay/etc/hostname"
cat >> $TARGET/root.overlay/etc/hosts <<EOF
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes