]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a scripting frontend. Documentation and release(7) support coming later.
authornwhitehorn <nwhitehorn@FreeBSD.org>
Mon, 21 Jan 2013 01:01:32 +0000 (01:01 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Mon, 21 Jan 2013 01:01:32 +0000 (01:01 +0000)
commit07280965871a156bcd84fc45e499722cc31f4161
tree82e728baf4bc19c0454afdd7931e530ed6b0c599
parentd8e6882b0a70197936f2f0ec7106c4e967bb9369
Add a scripting frontend. Documentation and release(7) support coming later.

Scripts take the form:

------------------------------------
PARTITIONS=ada0
DISTRIBUTIONS="kernel.txz base.txz ports.txz"

#!/bin/sh
echo "sshd_enable=YES" >> /etc/rc.conf
pkg add puppet
echo "System setup complete"
------------------------------------

The second part of the script (beginning with #!) is run in the newly
installed system after the installation onto ada0 (with default partitioning,
see scriptedpart for more complicated scenarios) is complete.
usr.sbin/bsdinstall/scripts/Makefile
usr.sbin/bsdinstall/scripts/script [new file with mode: 0755]