I think I manually added @core later while trying out various trial and
error methods.

[kapiltest1 ~]$ sudo cobbler profile dumpvars --name rhel-7.0-x86_64 | grep
^kickstart

kickstart : /var/lib/cobbler/kickstarts/tenneco.rhel-7.ks
[kapiltest1 ~]$ cat /var/lib/cobbler/kickstarts/tenneco.rhel-7.ks
auth  --useshadow  --enablemd5
bootloader --location=mbr
clearpart --all --initlabel
text
firewall --disabled
firstboot --disable
keyboard us
lang en_US
url --url=$tree
reboot --eject
rootpw --plaintext abc123
selinux --disabled
skipx
timezone --utc America/Chicago
install
zerombr
part /boot --fstype xfs --size=1024 --ondisk=sda
part pv.01 --size=1 --grow --ondisk=sda
volgroup sysvg --pesize=65536 pv.01
logvol swap --fstype swap --name=swap --vgname=sysvg --size=8192
logvol /opt --fstype xfs --name=opt --vgname=sysvg --size=6144
logvol / --fstype xfs --name=root --vgname=sysvg --size=10240
logvol /home --fstype xfs --name=home --vgname=sysvg --size=1024
logvol /tmp --fstype xfs --name=tmp --vgname=sysvg --size=2048
logvol /var --fstype xfs --name=var --vgname=sysvg --size=8192

$yum_repo_stanza
#
$SNIPPET('network_config')
#
%pre
$SNIPPET('log_ks_pre')
$SNIPPET('kickstart_start')
$SNIPPET('pre_install_network_config')
$SNIPPET('pre_anamon')
%end
#
%packages
@core
$SNIPPET('func_install_if_enabled')
$SNIPPET('puppet_install_if_enabled')
%end
#
%post
$SNIPPET('log_ks_post')
$yum_config_stanza
$SNIPPET('post_install_kernel_options')
$SNIPPET('post_install_network_config')
$SNIPPET('func_register_if_enabled')
$SNIPPET('puppet_register_if_enabled')
$SNIPPET('download_config_files')
$SNIPPET('koan_environment')
$SNIPPET('redhat_register')
$SNIPPET('cobbler_register')
# Enable post-install boot notification
$SNIPPET('post_anamon')
# Start final steps
$SNIPPET('kickstart_done')
# End final steps
%end





On Sep 26, 2016 12:57 PM, "Orion Poplawski" <[email protected]> wrote:

> On 09/23/2016 03:21 PM, Kapilraj Koroth wrote:
> > Here it is
> >
> > [kapiltest1 ~]$ sudo cobbler profile getks --name rhel-7.0-x86_64
>
> > %packages
> > @core
> >
> >
> >
> >
> > %end
>
> So there's your @core.  Question is, where is it coming from.  Your claimed
> template doesn't have it:
>
> %packages
> $SNIPPET('func_install_if_enabled')
> $SNIPPET('puppet_install_if_enabled')
> %end
>
> (func_install_if_enabled would add "func", puppet_install_if_enabled would
> add
> "puppet")
>
> So, what does:
>
> cobbler profile dumpvars --name rhel-7.0-x86_64 | grep ^kickstart
>
> report?
>
> What is the contents of the file returned?
>
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> 3380 Mitchell Lane                       [email protected]
> Boulder, CO 80301                   http://www.nwra.com
> _______________________________________________
> cobbler mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
cobbler mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to