Last change
on this file since 102157 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
|
---|
2 | PARTITIONS=ada0
|
---|
3 |
|
---|
4 | ### Distribution files to install
|
---|
5 | DISTRIBUTIONS="kernel.txz base.txz"
|
---|
6 |
|
---|
7 | ################userad
|
---|
8 | # Begin post installation modifications
|
---|
9 | ################
|
---|
10 | #!/bin/sh
|
---|
11 |
|
---|
12 | # Set up Networking
|
---|
13 | sysrc ifconfig_em0=DHCP
|
---|
14 | sysrc 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
|
---|
23 | echo @@VBOX_INSERT_ROOT_PASSWORD_SH@@|pw usermod root -h 0
|
---|
24 |
|
---|
25 | #Add configured user
|
---|
26 | 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
|
---|
27 |
|
---|
28 | #Reboot System
|
---|
29 | reboot
|
---|
30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.