wizlayer wizlayer at gmail.com
Thu Apr 7 04:17:31 PDT 2005


On Thursday 07 April 2005 05:16 am, John Meing wrote:
> Hi All,
>
> I'm trying to create customized freebsd 4.11 installation CD,
> it is almost done but I found some problem with customized
> install.cfg for sysinstall.
>
> Here is my install.cfg
>
[snip]
>
> command="echo rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
> >> /etc/rc.conf" system
> command="echo sshd_enable="YES" >> /etc/rc.conf" system
> command="echo sendmail_enable="NONE" >> /etc/rc.conf" system
> command="passwd root" system
> shutdown
>
> Most of processes for sysinstall works fine except process for
> the lines begin with "command" does not work, I don't know why,
> Could someone help me ?
>
>
> Best Regards,
> John Meing

I can imagine it would.  If there was a command= (could be, but 
I'm relatively new to doing the automated install stuff), it's 
not mentioned in the example install.cfgs I've seen.  Besides, 
even if it is an option, think about how it would carry out...  
it makes about as much sense as telling your shell to:

echo "hello="hola""

... syntax is kinda sucky.

HTH,

Mike


More information about the freebsd-questions mailing list