Hi, You could possibly use the kickstart metadata (--ksmeta) field the extra fields you are looking to add. Check out https://fedorahosted.org/cobbler/wiki/KickstartTemplating for more details but basically you can put in some space separated key=value pairs that then can be accessed and placed in-line through the Cheetah templates with the $getVar() function.
Regards, Andrew On Wed, Mar 6, 2013 at 8:29 AM, Sarakaitis, Eric < [email protected]> wrote: > Got it, excellent! > > Here what I'm testing now: > > $SNIPPET('network_config_esxi') > accepteula > install --firstdisk --overwritevmfs > rootpw vmware123 > reboot > %pre --interpreter=busybox > $SNIPPET('kickstart_start') > %firstboot --interpreter=busybox > $SNIPPET('esxi_51_configure_nested') > $SNIPPET('esxi_51_ssh_config') > $SNIPPET('esxi_51_local_disk_rename') > $SNIPPET('esxi_51_create_vswitch1_vswitch2') > $SNIPPET('esxi_51_configure_vswitch_uplinks') > $SNIPPET('esxi_51_configure_active_uplinks') > $SNIPPET('esxi_51_configure_vswitch_failover') > $SNIPPET('esxi_51_configure_vswitch_cdp') > $SNIPPET('esxi_51_configure_vswitch_security') > $SNIPPET('esxi_51_configure_vswitch_portgroups') > $SNIPPET('esxi_51_enable_shell') > $SNIPPET('esxi_51_syslog_config') > $SNIPPET('esxi_51_syslog_rotation') > $SNIPPET('esxi_51_ntp_config') > $SNIPPET('esxi_51_firewall_config') > $SNIPPET('esxi_51_finish') > $SNIPPET('kickstart_done') > > In this build, I need to specify NTP server, management server ip, and 3 > vmkernel IP's, how would I do that in the system profile if those fields > are not available? > > I'd rather not embed anything into the ks > > ____________________________ > Eric Sarakaitis > Sr. Systems Engineer > 419.303.4624 > [email protected]<mailto:[email protected]> > [cid:8E83CF36-9BD7-49C3-A98E-0701299F8AE4] > [cid:598BE9E0-C0DF-4B89-9F76-9E5541109BBC] > > From: James Cammarata <[email protected]<mailto:[email protected]>> > Reply-To: cobbler mailing list <[email protected]<mailto: > [email protected]>> > Date: Wednesday, March 6, 2013 11:09 AM > To: cobbler mailing list <[email protected]<mailto: > [email protected]>> > Subject: Re: [cobbler] Kistart done stanza - not expanding > > On Wed, Mar 6, 2013 at 9:44 AM, Sarakaitis, Eric < > [email protected]<mailto:[email protected]>> > wrote: > Do you put that like this? > > $SNIPPET('kickstart_start') > $SNIPPET('network_config_esxi') > accepteula > install --firstdisk --overwritevmfs > rootpw vmware123 > reboot > > %pre --interpreter=busybox > > %firstboot --interpreter=busybox > $SNIPPET('kickstart_done') > > No, the kickstart_start snippet needs to go in the %pre section, and the > kickstart_done snippet needs to go in the %post section (typically the last > entry). Check the sample_end.ks that ships with cobbler to see how we do it > by default. > > _______________________________________________ > cobbler mailing list > [email protected] > https://lists.fedorahosted.org/mailman/listinfo/cobbler > >
_______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
