[ONE images] properly initialize/configure OpenBSD networking

This commit is contained in:
fnux 2024-04-11 11:53:47 +02:00
parent 1ee1e66155
commit 390313eac8
No known key found for this signature in database
GPG key ID: 4502C902C00A1E12

View file

@ -121,6 +121,7 @@ chroot /mnt /bin/ksh -e -c "cd /usr/share/relink/kernel/GENERIC.MP; make newbsd;
# Update and install utilities.
chroot /mnt /usr/sbin/pkg_add $pkg_add_params -u
chroot /mnt /usr/sbin/pkg_add $pkg_add_params bash cloud-agent
echo '!/usr/local/libexec/cloud-agent "\$if"' > /mnt/etc/hostname.vio0
# Remove useless kernel object files. This saves about 300MB of space in the final image
rm -rf /mnt/usr/share/relink/kernel/GENERIC.MP/