On Tue, May 8, 2012 at 3:51 PM, John Paget Bourke <john.bou...@mobileinternet.com> wrote: > Greg & List, > > > > Thanks for the reply. I have finally got back to it. Not sure the error is > reporting the right location in the script. > > > > I am back to square one with this. When I have 1 $ I get an error and when > I have 2 $ I get an error. Raw data and error below. > > > > Here is the raw kickstart file > > > > > > # Sample kickstart for ESXi 5.0 > > # William Lam > > # www.virtuallyghetto.com > > ######################################### > > > > 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}')
try that? I'd assume that the templating engine is going after all the $'s not just the first one in the line. So thus you error cause it doesn't know what $VMK_INT, $VMK_LINE, $2, $3, and $5 are. -greg _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler