Date: Fri, 29 Feb 2008 16:40:24 -0500 From: "Jeff Gold" <jeff.gold@gmail.com> To: Mel <fbsd.questions@rachie.is-a-geek.net> Cc: jedrek <jedrek@t-n-p.org>, freebsd-questions@freebsd.org Subject: Re: Scripting sysinstall Message-ID: <4bded9640802291340i41669427la1172f948bbb60ad@mail.gmail.com> In-Reply-To: <200802292220.56998.fbsd.questions@rachie.is-a-geek.net> References: <4bded9640802150914x4c868f40ue0f21b8d8e163745@mail.gmail.com> <47C805B8.1040202@t-n-p.org> <4bded9640802291240r14c9b011t19f3734fb229853@mail.gmail.com> <200802292220.56998.fbsd.questions@rachie.is-a-geek.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 29, 2008 at 4:20 PM, Mel <fbsd.questions@rachie.is-a-geek.net> wrote: > Missing a few echo's there What's missing? This seems to work... > and better off for ease of editing in the future, > to use the cat <<EOF >/tmp/bsdlabel.conf syntax. It will expand variables: As you can see I use here documents in the rest of the script, but it doesn't work this time due to the (somewhat misnamed) "slice" function which permits specifying the size of partitions either in GiB or a percentage of the entire disk. Using backticks in a here document didn't work because the value of the "used" shell variable doesn't get updated. > Yea, probably: > ifconfig_${iface}="DHCP" > keyrate="fast" > sshd_enable="YES" I've also enabled a bunch of other things like usbd and moused in my working tree. What does keyrate="fast" do? Note that this script is not presented as advanced technology but rather a proof of concept for installing without intervention. There are many ways it could be improved but my hope is that the next person who wants to do this will find this thread in a web or list archive search and have a starting point to work with. Jeff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bded9640802291340i41669427la1172f948bbb60ad>