From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- .../Main/UnattendedTemplates/freebsd_installer.cfg | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg (limited to 'src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg') diff --git a/src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg b/src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg new file mode 100644 index 00000000..06c3b97b --- /dev/null +++ b/src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg @@ -0,0 +1,30 @@ +### Partitioning +PARTITIONS=ada0 + +### Distribution files to install +DISTRIBUTIONS="kernel.txz base.txz" + +################userad +# Begin post installation modifications +################ +#!/bin/sh + +# Set up Networking +sysrc ifconfig_em0=DHCP +sysrc sshd_enable=YES + +# Set Time Zone +/bin/cp /usr/share/zoneinfo/UTC /etc/localtime +/usr/bin/touch /etc/wall_cmos_clock +/sbin/adjkerntz -a +/usr/sbin/ntpdate -u 0.pool.ntp.org + +#Set Default Root Password +echo @@VBOX_INSERT_ROOT_PASSWORD_SH@@|pw usermod root -h 0 + +#Add configured user +echo @@VBOX_INSERT_USER_PASSWORD_SH@@|pw useradd -c @@VBOX_INSERT_USER_FULL_NAME@@ -n @@VBOX_INSERT_USER_LOGIN_SH@@ -m -u 1001 -G wheel -s csh -h 0 + +#Reboot System +reboot + -- cgit v1.2.3