Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Nov 2009 11:31:39 -0800
From:      Jason <jhelfman@e-e.com>
To:        questions@freebsd.org
Subject:   install.cfg scripting issue
Message-ID:  <20091106193137.GA73071@eggman.experts-exchange.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am having a heck of a time getting an automated installation to get a
couple of commands done, and was wondering if anyone would be able to offer
any assistance.

Everything works, but post does not. I know we will more than likely move to
a post pkg for configuration, but due to the time-frame to deliver, what
follows below will suit needs just fine.

command='echo sshd_enable="YES" >> /etc/rc.conf.local'
system
command=cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
system
command=/sbin/reboot
system

I've tried the first command, and it fails, with a "command not found," and
I have yet to get past those command to the last commands. I have been using
single ticks, and double-quotes, but nothing is seeming to work. In
addition to this, I have also escaped the quotes.

Any help is much appreciated.

Thanks,
Jason



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091106193137.GA73071>