[PC-BSD Commits] r4845 - in pcbsd/trunk/pc-sysinstall: . backend
svn at pcbsd.org
svn at pcbsd.org
Mon Nov 2 13:35:17 PST 2009
Author: kris
Date: 2009-11-02 13:35:17 -0800 (Mon, 02 Nov 2009)
New Revision: 4845
Added:
pcbsd/trunk/pc-sysinstall/backend/functions-users.sh
Modified:
pcbsd/trunk/pc-sysinstall/backend/parseconfig.sh
pcbsd/trunk/pc-sysinstall/pcinstall.cfg
Log:
Added support for user setup in pc-sysinstall
Modified: pcbsd/trunk/pc-sysinstall/backend/parseconfig.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/parseconfig.sh 2009-11-02 20:17:26 UTC (rev 4844)
+++ pcbsd/trunk/pc-sysinstall/backend/parseconfig.sh 2009-11-02 21:35:17 UTC (rev 4845)
@@ -15,6 +15,7 @@
. ${BACKEND}/functions-localize.sh
. ${BACKEND}/functions-cleanup.sh
. ${BACKEND}/functions-unmount.sh
+. ${BACKEND}/functions-users.sh
# Check that the config file exists
if [ ! -e "${1}" ]
@@ -84,6 +85,9 @@
# Check if we have any optional modules to load
install_components
+ # Now add any users
+ setup_users
+
# Now run any commands specified
run_commands
Modified: pcbsd/trunk/pc-sysinstall/pcinstall.cfg
===================================================================
--- pcbsd/trunk/pc-sysinstall/pcinstall.cfg 2009-11-02 20:17:26 UTC (rev 4844)
+++ pcbsd/trunk/pc-sysinstall/pcinstall.cfg 2009-11-02 21:35:17 UTC (rev 4845)
@@ -5,7 +5,7 @@
hostname=freebsd8
# Set the disk parameters
-disk0=ad0
+disk0=ad1
partition=all
bootManager=bsd
commitDiskPart
@@ -16,8 +16,7 @@
# UFS.eli, UFS+S.eli, UFS+J.eli, ZFS.eli, SWAP.eli
disk0-part=UFS+S 500 /
disk0-part=SWAP.eli 2000 none
-disk0-part=UFS+J.eli 5000 /data
-disk0-part=ZFS.eli 0 /usr
+disk0-part=UFS+S 0 /usr
# Size 0 means use the rest of the slice size
# Do it now!
commitDiskLabel
@@ -40,6 +39,15 @@
# Set the root pass
rootPass=root
+# Setup our users
+userName=kris
+userComment=Kris Moore
+userPass=kris
+userShell=/bin/csh
+userHome=/home/kris
+userGroups=wheel,operator
+commitUser
+
#autoLoginUser=kris
# Options for localizing an install
More information about the Commits
mailing list