Using PC-Sysinstall for automated network installs of FreeBSD

Warren Block wblock at wonkity.com
Thu Nov 22 16:13:17 UTC 2012


On Fri, 16 Nov 2012, Mark Saad wrote:

> The install config
> ------------------------
>
> I created /conf/ada-install.cfg and /conf/da-install.cfg the only
> difference here is the name of the disk as that is not auto
> discovered.
>
> Here is ada-install.cfg
>
> # User Generated pc-sysinstall configuration
> installInteractive=no
> installMode=fresh
> installType=FreeBSD
> installMedium=local
> localPath=/usr/freebsd-dist/
> installFile=fbsd-release.txz
> packageType=tar
>
> hostname=nynewserver1.ops.com
> netDev=AUTO-DHCP
>
>
> # Disk Setup
> disk0=ada0  #Change me to suite your needs

pc-bsdinstall does not seem to like a trailing comment.  Moving this 
comment to a separate line fixes it.

Another problem is that I've not figured out how to set a root password 
in the installer file tree for login after Shell is selected. 
Or rather,
   pw -V /usr/tftpboot/images/freebsd9-i386/etc usermod root -h 0
changes the password, but something still causes the system to show 
"Login incorrect" when it is entered.


More information about the freebsd-hackers mailing list