Here it is

[kapiltest1 ~]$ sudo cobbler profile getks --name rhel-7.0-x86_64
eula --agreed
auth  --useshadow  --enablemd5
bootloader --location=mbr
clearpart --all --initlabel
text
firewall --disabled
firstboot --disable
keyboard us
lang en_US
url --url=http://kapiltest1/cblr/links/rhel-7.0-x86_64
reboot --eject
rootpw --plaintext abc123
selinux --disabled
skipx
timezone --utc America/Chicago
install
zerombr
part /boot --fstype ext3 --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 ext4 --name=opt --vgname=sysvg --size=6144
logvol / --fstype ext4 --name=root --vgname=sysvg --size=10240
logvol /home --fstype ext4 --name=home --vgname=sysvg --size=1024
logvol /tmp --fstype ext4 --name=tmp --vgname=sysvg --size=2048
logvol /var --fstype ext4 --name=var --vgname=sysvg --size=8192

repo --name=source-1 --baseurl=
http://kapiltest1/cobbler/ks_mirror/rhel-7.0-x86_64
repo --name=source-2 --baseurl=
http://kapiltest1/cobbler/ks_mirror/rhel-7.0-x86_64/addons/HighAvailability
repo --name=source-3 --baseurl=
http://kapiltest1/cobbler/ks_mirror/rhel-7.0-x86_64/addons/ResilientStorage

network --bootproto=dhcp --device=eth0 --onboot=on

%pre
set -x -v
exec 1>/tmp/ks-pre.log 2>&1

# Once root's homedir is there, copy over the log.
while : ; do
    sleep 10
    if [ -d /mnt/sysimage/root ]; then
        cp /tmp/ks-pre.log /mnt/sysimage/root/
        logger "Copied %pre section log to system"
        break
    fi
done &


curl "http://kapiltest1/cblr/svc/op/trig/mode/pre/profile/rhel-7.0-x86_64";
-o /dev/null


%end
%packages
@core




%end
%post
set -x -v
exec 1>/root/ks-post.log 2>&1

curl "http://kapiltest1/cblr/svc/op/yum/profile/rhel-7.0-x86_64"; --output
/etc/yum.repos.d/cobbler-config.repo




# Start post_install_network_config generated code
# End post_install_network_config generated code




# start puppet registration
# end puppet registration

# Start download cobbler managed config files (if applicable)
# End download cobbler managed config files (if applicable)

# Start koan environment setup
echo "export COBBLER_SERVER=kapiltest1" > /etc/profile.d/cobbler.sh
echo "setenv COBBLER_SERVER kapiltest1" > /etc/profile.d/cobbler.csh
# End koan environment setup

# begin Red Hat management server registration
# not configured to register to any Red Hat management server (ok)
# end Red Hat management server registration

# Begin cobbler registration
# cobbler registration is disabled in /etc/cobbler/settings
# End cobbler registration

# Enable post-install boot notification

# Start final steps

curl "http://kapiltest1/cblr/svc/op/ks/profile/rhel-7.0-x86_64"; -o
/root/cobbler.ks
curl "http://kapiltest1/cblr/svc/op/trig/mode/post/profile/rhel-7.0-x86_64";
-o /dev/null
# End final steps
%end


On Fri, Sep 23, 2016 at 2:54 PM, Locane <[email protected]> wrote:

> cobbler profile getks --name <PROFILE NAME>
>
> On Fri, Sep 23, 2016 at 12:51 PM, Orion Poplawski <[email protected]>
> wrote:
>
>> On 09/21/2016 08:32 PM, Kapilraj Koroth wrote:
>> > What do you mean ? I have given the Kickstart file in my original post.
>>
>> No, you gave the kickstart template file - not the rendered version
>>
>> > On Sep 21, 2016 1:43 PM, "Orion Poplawski" <[email protected]
>> > <mailto:[email protected]>> wrote:
>> >
>> >     On 09/19/2016 01:25 PM, Kapilraj Koroth wrote:
>> >     > Installed cobbler server on RHEL 6.8
>> >     > Installed the latest version of cobbler from EPEL 2.6.11
>> >     > Imported RHEL 7.0 and 7.2 distributions from the binary DVD.
>> >     > Made a kickstart file as follows, slight changes from RHEL6
>> >
>> >     > Created a boot ISO, booted from it to perform a RHEL7 install. It
>> fails with
>> >     > this error message with some python errors
>> >     >
>> >     > NoSuchGroup: core
>> >     >
>> >     > Any idea whats wrong here ?. All VMs are on VirtualBox running on
>> Fedora.
>> >
>> >     What is the final generated kickstart file?
>>
>> --
>> 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]
>
>


-- 
Regards, KapilRaj
_______________________________________________
cobbler mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to