VirtualBox

source: vbox/trunk/src/VBox/Main/UnattendedTemplates/freebsd_installer.cfg@ 101459

Last change on this file since 101459 was 95437, checked in by vboxsync, 2 years ago

Main/UnattendedInstall: Minimalistic support for FreeBSD >= 10.0 sitting in my tree for too long, bugref:9781 [scm fix]

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 698 bytes
Line 
1### Partitioning
2PARTITIONS=ada0
3
4### Distribution files to install
5DISTRIBUTIONS="kernel.txz base.txz"
6
7################userad
8# Begin post installation modifications
9################
10#!/bin/sh
11
12# Set up Networking
13sysrc ifconfig_em0=DHCP
14sysrc sshd_enable=YES
15
16# Set Time Zone
17/bin/cp /usr/share/zoneinfo/UTC /etc/localtime
18/usr/bin/touch /etc/wall_cmos_clock
19/sbin/adjkerntz -a
20/usr/sbin/ntpdate -u 0.pool.ntp.org
21
22#Set Default Root Password
23echo @@VBOX_INSERT_ROOT_PASSWORD_SH@@|pw usermod root -h 0
24
25#Add configured user
26echo @@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
27
28#Reboot System
29reboot
30
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette