~comcloudway/builds.sr.ht

7aba234a6df735a830fb6700b4a3feb5854ade6f — Drew DeVault 5 years ago 470ec18
Revert "Revert "genimg: trim some fat from FreeBSD images""

This reverts commit c3168d315a1c4bece3e442c68d842e96d745b3a6.
1 files changed, 10 insertions(+), 0 deletions(-)

M images/freebsd/genimg
M images/freebsd/genimg => images/freebsd/genimg +10 -0
@@ 43,11 43,20 @@ echo 'autoboot_delay="-1"' >>/mnt/boot/loader.conf

cat >>/mnt/etc/rc.conf <<EOF
ntpd_enable=YES
ntpd_sync_on_start=YES
sshd_enable=YES
growfs_enable=YES
hostname="build"
ifconfig_DEFAULT="inet 10.0.2.15 netmask 255.255.255.0"
defaultrouter="10.0.2.2"
powerd_enable=NO
sendmail_enable=NONE
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
cron_enable=NO
# syslogd_enable=NO
syslogd_flags="-ss"
EOF
echo "nameserver 1.1.1.1" >/mnt/etc/resolv.conf
tzsetup -s -C /mnt UTC


@@ 57,6 66,7 @@ PermitRootLogin yes
PasswordAuthentication yes
PermitEmptyPasswords yes
UsePAM no
UseDNS no
EOF

mkdir -p /mnt/usr/local/etc/pkg/repos/