Vanity: use quotes as in rc.conf

This commit is contained in:
Jørn Åne de Jong 2022-06-08 18:43:24 +02:00 committed by Nico Schottelius
parent 84daa8eca4
commit ac6a724d04

View file

@ -162,16 +162,16 @@ pkg --rootdir "$UFSTARGET" add --automatic "$CLOUDSETUP_PKG" "$FBUPDATE_PKG"
# Configure new system. # Configure new system.
touch "$UFSTARGET/firstboot" touch "$UFSTARGET/firstboot"
sysrc -f "$UFSTARGET/boot/loader.conf" \ sysrc -f "$UFSTARGET/boot/loader.conf" \
zfs_load=YES \ zfs_load="YES" \
autoboot_delay=-1 \ autoboot_delay="-1" \
sysrc -f "$UFSTARGET/etc/rc.conf" \ sysrc -f "$UFSTARGET/etc/rc.conf" \
ntpd_enable=YES \ ntpd_enable="YES" \
sshd_enable=YES \ sshd_enable="YES" \
growfs_enable=YES \ growfs_enable="YES" \
hostname=freebsd \ hostname="freebsd" \
firstboot_cloudsetup_enable=YES \ firstboot_cloudsetup_enable="YES" \
firstboot_freebsd_update_enable=YES \ firstboot_freebsd_update_enable="YES" \
# The resolv.conf file is written by firstboot_cloudsetup # The resolv.conf file is written by firstboot_cloudsetup
#cp /etc/resolv.conf "$UFSTARGET/etc/resolv.conf" #cp /etc/resolv.conf "$UFSTARGET/etc/resolv.conf"