head	1.1;
access;
symbols
	RELENG_9_1_0_RELEASE:1.1
	RELENG_9_1:1.1.0.6
	RELENG_9_1_BP:1.1
	RELENG_9_0_0_RELEASE:1.1
	RELENG_9_0:1.1.0.4
	RELENG_9_0_BP:1.1
	RELENG_9:1.1.0.2
	RELENG_9_BP:1.1;
locks; strict;
comment	@# @;


1.1
date	2010.06.24.22.21.47;	author imp;	state Exp;
branches;
next	;


desc
@@


1.1
log
@SVN rev 209513 on 2010-06-24 22:21:47Z by imp

Bring in Kris Moore's pc-sysinstall shell script from PC-BSD.  This
shell script is the back end logic necessary for an installer.  It
contains both query routines to allow a front-end installer to present
reasonable choices to the user and also action routines which allow
the front end installer to put a FreeBSD distribution onto a disk.  It
supports installing onto the usual suspects, as well as advanced
features like Mirroring, ZFS, Encryprion and GPT labels.

While this is only the back-end of the installer, it can do unattended
scripted installations.  In PC-BSD's world view, all installations are
scripted and all the front-end does is write the script.  As such, it
is useful in its own right.

This has been extensively tested over the past several releases of
PC-BSD.  However, differences between that environment and FreeBSD
suggest there will be a period of shake-out while those differences
are discovered and corrected.

A text-based front-end is in the works.  For the GUI-based front-end,
you can use the PC-BSD distribution.

Kris' BSDcan paper on pc-sysinstall is linked off his talk on the
BSDcan site:
	http://www.bsdcan.org/2010/schedule/events/173.en.html

The man page is written by Josh Paetzel, and I wrote the Makefiles for
the FreeBSD integration.  Kris wrote the rest.

This represents version r7010 in the PC-BSD repo.
http://svn.pcbsd.org/pcbsd/current/pc-sysinstall

Submitted by:	kris@@
Sponsored by:	iX Systems
@
text
@start-autoinstall - HELP
-----------------------------------------------

About:
	start-autoinstall is used when performing automated installationsr. It is able
	to configure networking with provided settings, and fetch an installation script from
	http / ftp server. This allows media to be created which fetches dynamic configuration
	options from a server-side supplier. 

Usage:
	pc-sysinstall start-autoinstall <config>

Config Syntax:

	The configuration file for start-autoinstall can contain the following options:

	pc_config: <value>
		- Location of the pc-sysinstall installation configuration file, can be local
		  or start with http:// or ftp:// to fetch from a remote system. 

     shutdown_cmd: <value>
		- Command to execute post-installation, such as "shutdown -p now" or other.

  confirm_install: (YES/NO)
		- Prompt on the console to begin installation. Defaults to YES.
		  Warning: Setting this to NO will start an installation as soon as start-autoinstall
		  is run. (I.E. after booting some install media) It may be dangerous if a disk is left
		  in a drive and the system is turned on!

       nic_config: (DHCP-ALL / <cfg>)
		- When set to DHCP-ALL, the software will attempt to get a network address from DHCP on
		  any / all detected NICS. If set to some other command, it will be used as an argument
		  to "ifconfig" to enable networking. 

	  nic_dns: <value>
		- Use the following DNS server for networking
		
      nic_gateway: <gateway>
		- Use the following default route / gateway for networking
@
