head	1.6;
access;
symbols
	RELENG_9_1_0_RELEASE:1.6
	RELENG_9_1:1.6.0.6
	RELENG_9_1_BP:1.6
	RELENG_9_0_0_RELEASE:1.6
	RELENG_9_0:1.6.0.4
	RELENG_9_0_BP:1.6
	RELENG_9:1.6.0.2
	RELENG_9_BP:1.6;
locks; strict;
comment	@# @;


1.6
date	2010.09.08.20.10.24;	author imp;	state Exp;
branches;
next	1.5;

1.5
date	2010.08.19.05.59.27;	author imp;	state Exp;
branches;
next	1.4;

1.4
date	2010.07.13.23.47.12;	author imp;	state Exp;
branches;
next	1.3;

1.3
date	2010.07.06.23.29.55;	author imp;	state Exp;
branches;
next	1.2;

1.2
date	2010.06.27.17.04.03;	author imp;	state Exp;
branches;
next	1.1;

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


desc
@@


1.6
log
@SVN rev 212337 on 2010-09-08 20:10:24Z by imp

pc-sysinstall(8) patch that allows images to be written to disks

This patch creates the "image" directive for the pc-sysinstall config
file. This allows disks to be configured with an image instead of
partitioning.

PR:		150137
Submitted by:	John Hixson
@
text
@pc-sysinstall Help Index
-----------------------------------------------
Help Commands

    help
	Display this index file

    help <command> 
   	Display the help data for the specified command

System Query Commands
    install-image <image> <device>
        Installs an image file to a device file

    disk-list 
        Provides a listing of the disk drives detected on this system

    disk-part <disk>
        Queries the specified disk and returns information about its partitions
    
    disk-info <disk>
        Returns information about the disks size, cyls, heads, and sectors 
    
    detect-laptop
        Tests to see if this system is a laptop or desktop

    detect-emulation
        Tests to see if this system is actually running in an emulator such as VirtualBox
    
    detect-nics
        Returns a listing of the detected network cards on this system

    list-config
        Returns a listing of the pc-sysinstall configuration

    list-components
        Returns a listing of the available components which can be installed

    list-mirrors [country]
        Returns a listing of the available FTP mirrors

    list-packages [category] [package]
        Returns a listing of the available packages

    list-rsync-backups <user> <host> <port>
        Returns a listing of available rsync-backups on the target server in the life-preserver/ dir
    
    list-tzones
        Returns a listing of available timezones

    query-langs 
        Return a list of languages that the installer supports

    get-packages 
        Retrieves the list of packages from an FTP mirror

    sys-mem
        Return the size of installed system RAM in MegaBytes

    set-mirror <mirror>
        Set FTP mirror

    test-netup
        Test if an internet connection is available
    
    update-part-list
        Return a list of PC-BSD & FreeBSD installs on this system for updates

    xkeyboard-layouts
        Return a list of keyboard layouts that xorg supports
  
    xkeyboard-models
        Return a list of keyboard models that xorg supports

    xkeyboard-variants
        Return a list of keyboard variants that xorg supports

Partition Management Commands

   create-part <disk> <size>
	Create a new MBR primary slice on the target <disk> using <size> MB
	
   delete-part <partition>
	Deletes the disk partition specified. If this is the last partition,
	the disk partition layout will also be scrubbed, leaving a clean disk
	ready for MBR or GPT file system layouts. 


Installation Commands

    -c <cfg>
        Begin a install / upgrade with the specified cfg file

    start-autoinstall <conf>
	Start an automated installation with the specified conf file
        Normally only used by automated install scripts

    setup-ssh-keys <user> <host> <port>
	Setup SSH without a password for the target host and user and port	
        Use to prompt the user to log into a server before doing a rsync + ssh restore
@


1.5
log
@SVN rev 211485 on 2010-08-19 05:59:27Z by imp

Various updates to support new pc-sysinstall directive
"installPackages" that will install packages and all package
dependencies.

PR:		148606
Submitted by:	John Hixon
@
text
@d12 2
@


1.4
log
@SVN rev 210036 on 2010-07-13 23:47:12Z by imp

Add support for packages.

PR:		148584
Submitted by:	John Hixon
@
text
@d37 1
a37 1
    list-mirrors
d40 1
a40 1
    list-packages
d58 3
@


1.3
log
@SVN rev 209751 on 2010-07-06 23:29:55Z by imp

A few patches from Ed Maste by way of Kris Moore

1. Change detect-vmware to detect-emulation
2. improve laptop detection
3. better, network descriptions
@
text
@d14 1
a14 1
	Provides a listing of the disk drives detected on this system
d17 1
a17 1
	Queries the specified disk and returns information about its partitions
d20 1
a20 1
	Returns information about the disks size, cyls, heads, and sectors 
d23 1
a23 1
	Tests to see if this system is a laptop or desktop
d26 1
a26 1
	Tests to see if this system is actually running in an emulator such as VirtualBox
d29 1
a29 1
	Returns a listing of the detected network cards on this system
d35 1
a35 1
	Returns a listing of the available components which can be installed
d38 4
a41 1
	Returns a listing of the available FTP mirrors
d44 1
a44 1
	Returns a listing of available rsync-backups on the target server in the life-preserver/ dir
d47 1
a47 1
	Returns a listing of available timezones
d52 3
d56 1
a56 1
	Return the size of installed system RAM in MegaBytes
d59 1
a59 1
	Test if an internet connection is available
d62 1
a62 1
	Return a list of PC-BSD & FreeBSD installs on this system for updates
@


1.2
log
@SVN rev 209553 on 2010-06-27 17:04:03Z by imp

Update pc-sysinstall to output list of FTP mirrors as well as some
installation information.  Export architecture to install.

PR:		148184
Submitted by:	John Hixson
@
text
@d25 2
a26 2
    detect-vmware
	Tests to see if this system is actually a vmware session
@


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
@d31 3
d37 3
@

