[cobbler] Kistart done stanza - not expanding

Sarakaitis, Eric Eric.Sarakaitis at CBTS.Cinbell.com
Wed Mar 6 16:29:05 UTC 2013


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
eric.sarakaitis at cbts.cinbell.com<mailto:eric.sarakaitis at cbts.cinbell.com>
[cid:8E83CF36-9BD7-49C3-A98E-0701299F8AE4]
[cid:598BE9E0-C0DF-4B89-9F76-9E5541109BBC]

From: James Cammarata <jimi at sngx.net<mailto:jimi at sngx.net>>
Reply-To: cobbler mailing list <cobbler at lists.fedorahosted.org<mailto:cobbler at lists.fedorahosted.org>>
Date: Wednesday, March 6, 2013 11:09 AM
To: cobbler mailing list <cobbler at lists.fedorahosted.org<mailto:cobbler at lists.fedorahosted.org>>
Subject: Re: [cobbler] Kistart done stanza - not expanding

On Wed, Mar 6, 2013 at 9:44 AM, Sarakaitis, Eric <Eric.Sarakaitis at cbts.cinbell.com<mailto:Eric.Sarakaitis at cbts.cinbell.com>> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 8E65954F-A8E0-46CB-9A1D-15833AC223CB[21].png
Type: image/png
Size: 25386 bytes
Desc: 8E65954F-A8E0-46CB-9A1D-15833AC223CB[21].png
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20130306/50a5d3f6/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: B5030F5A-4EE8-4106-B01C-D66279B03636[21].png
Type: image/png
Size: 15992 bytes
Desc: B5030F5A-4EE8-4106-B01C-D66279B03636[21].png
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20130306/50a5d3f6/attachment-0003.png>


More information about the cobbler mailing list