James, Works, many thanks !
John -----Original Message----- From: cobbler-boun...@lists.fedorahosted.org [mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of James Cammarata Sent: 08 May 2012 23:47 To: cobbler mailing list Subject: Re: [cobbler] KS generation error On Tue, May 8, 2012 at 5:21 PM, John Paget Bourke <john.bou...@mobileinternet.com> 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 cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler