Translations:Creating an Automated Installation with pc/9.2/17/en

From PC-BSD Wiki
Jump to: navigation, search
Table 5.5a: Available Variables for Customizing a PC-BSD® Installation [tables 1]
Variable Options Description
hostname= should be unique for the network optional as installer will auto-generate a hostname if empty
installMode= fresh, upgrade, extract, or zfsrestore sets the installation type
installLocation= /path/to/location used only when installMode is extract and should point to an already mounted location
installInteractive= yes or no set to no for automated installs without user input
netDev= AUTO-DHCP or FreeBSD interface name type of network connection to use during the installation
netIP= IP address of interface used during installation only use if netDev is set to an interface name
netMask= subnet mask of interface only use if netDev is set to an interface name
netNameServer= IP address of DNS server only use if netDev is set to an interface name
netDefaultRouter= IP address of default gateway only use if netDev is set to an interface name
netSaveDev= AUTO-DHCP or FreeBSD interface name(s) (multiple allowed separated by spaces) type of network configuration to enable on the installed system; can set multiple interfaces
netSaveIP= IP address of interface <interface_name> or DHCP only use if netSaveDev is set to an interface name or a list of interface names (repeat for each interface)
netSaveMask= subnet mask of interface <interface_name> only use if netSaveDev is set to an interface name or a list of interface names (repeat for each interface)
netSaveNameServer= IP address of DNS server (multiple allowed separated by spaces) only use if netSaveDev is set to an interface name or a list of interface names (do not repeat for each interface)
netSaveDefaultRouter= IP address of default gateway only use if netSaveDev is set to an interface name or a list of interface names (do not repeat for each interface)
disk0= FreeBSD disk device Name, (e.g. ad0) see README for examples
partition= all, free, s1, s2, s3, s4, image see README for examples
partscheme= MBR or GPT partition scheme type
mirror= FreeBSD disk device name (e.g. ad1) sets the target disk for the mirror (i.e. the second disk)
mirrorbal= load, prefer, round-robin, split defaults to round-robin if the mirrorbal method is not specified
bootManager= none, bsd whether or not to install the FreeBSD boot manager
image= /path/to/image will write specified image file
commitDiskPart this variable is mandatory and must be placed at the end of each diskX section; create a diskX section for each disk you wish to configure.
encpass= password value at boot time, system will prompt for this password in order to mount the associated GELI encrypted partition
commitDiskLabel this variable is mandatory and must be placed at the end of disk's partitioning settings; see the README for examples on how to set the <File System Type> <Size> <Mountpoint> entries for each disk
installMedium= dvd, usb, ftp, rsync, image source to be used for installation
installType= PCBSD, FreeBSD determines whether this is a desktop or a server install
installFile= e.g. fbsd-release.tbz only set if using a customized installer archive
packageType= tar, uzip, split the archive type on the installation media
ftpPath= e.g. ftp://iso.cdn.pcbsd.org/9.1/amd64/netinstall/ location of the installer archive when using installMedium=ftp
rsyncPath= e.g. life-preserver/back-2011-09-12T14_53_14 location of the rsync data on the remote server when using installMedium=rsync
rsyncUser= username set when using installMedium=rsync
rsyncHost= IP address of rsync server set when using installMedium=rsync
rsyncPort= port number set when using installMedium=rsync
installComponents= e.g. amarok,firefox,ports components must exist in /PCBSD/pc-sysinstall/components/
upgradeKeepDesktopProfile= yes or no specify if you wish to keep your existing user's desktop profile data during an upgrade
rootPass= password set the root password of the installed system to the specified string
rootEncPass= encrypted string set root password to specified encrypted string
userName= case sensitive value create a separate block of user values for each user you wish to create
userComment= description description text can include spaces
userPass= password of user
userEncPass encrypted string set user password to specified encrypted string
userShell= e.g. /bin/csh path to default shell
userHome= e.g. /home/username path to home directory
userGroups= e.g. wheel,operator comma separated (no spaces) list of groups
commitUser mandatory, must be last line in each user block
runCommand= path to command run the specified command within chroot of the installed system, after the installation is complete
runScript= path to script runs specified script within chroot of the installed system, after the installation is complete
runExtCommand= path to command runs a command outside the chroot
timeZone= e.g. America/New_York location must exist in /usr/share/zoneinfo/
enableNTP= yes or no enable/disable NTP
localizeLang= e.g. en sets the system console and Desktop to the target language
localizeKeyLayout= e.g. en updates the system's Xorg config to set the keyboard layout
localizeKeyModel= e.g. pc104 updates the system's Xorg config to set the keyboard model
localizeKeyVariant= e.g. intl updates the Xorg config to set the keyboard variant
autoLoginUser= username user will be logged in automatically without entering a password

Cite error: <ref> tags exist for a group named "tables", but no corresponding <references group="tables"/> tag was found
Personal tools

Variants
Actions
Navigation
Toolbox