Doh.  Man my memory is just not what it used to be.
On May 8, 2012 5:47 PM, "James Cammarata" <[email protected]> wrote:

> On Tue, May 8, 2012 at 5:21 PM, John Paget Bourke
> <[email protected]> wrote:
> > Greg
> >
> > Updated the kickstart, same error
> >
> > accepteula
> > install --firstdisk --overwritevmfs
> >
> > # RootPassword is taken from the default setting of cobbler
> > rootpw --iscrypted $$default_password_crypted
> >
> > reboot
> > %include /tmp/networkconfig
> > %pre --interpreter=busybox
> >
> > # extract network info from bootup
> > VMK_INT="vmk0"
> > VMK_LINE=$$(localcli network ip interface ipv4 get | grep "$${VMK_INT}")
> > IPADDR=$$(echo "$${VMK_LINE}" | awk '{print $$2}')
> > NETMASK=$$(echo "$${VMK_LINE}" | awk '{print $$3}')
> > GATEWAY=$$(esxcfg-route | awk '{print $$5}')
>
> Double $'s isn't the right way to escape things in cheetah. Either use
> \$ or wrap shell code in #raw/#end raw statements. That should fix
> your issues. Just remember that template variables won't be
> interpreted inside the #raw block. It gets really tricky when your
> shell needs to escape the $ too... you end up with stuff like \\\$ -
> much easier to use #raw at that point.
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to