So 100ish views and no reponses, maybe my post didn't make sense
i'll try again:
Where would you start looking if you could Kickstart from your CentOS yum repo's but not your RHEL yum repo's? Keeping in mind all the repo's work using "yum install whatever" and the Kickstart doesn't fail until after if formats the partitions.
How I made the RHEL repo:
Code:
# cp -r /mnt/dvd/* /opt/www/html/rhel/6.3Server/os/x86_64/.
This allowed the yum command to work from my existing 6.3 servers. but yum groupinstall did not work.. so I tried this next command:
Code:
# createrepo -g /opt/www/html/rhel/6.3.Server/os/x86_x64/Server/repodata/*-comps-rhel6-Server.xml -o /opt/www/html/rhel/6.3Server/os/x86_64/Server /opt/www/html/rhel/6.3Server/os/x86_64/Packages
For some reason I had to use full paths or it would say it couldn't find the locations. Anywho, that fixed the yum groupinstall but still no luck on kickstart working.
Here is my kickstart file (copied from an "installed from dvd" server and modified):
Code:
# Kickstart file automatically generated by anaconda.
#version=DEVEL
install
url --url=http://192.168.2.17/rhel/6.3Server/os/x86_64
lang en_US.UTF-8
keyboard us
#text
network --onboot yes --device eth0 --mtu=1500 --noipv6 --bootproto=dhcp
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --disabled
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append=" rhgb crashkernel=auto quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
zerombr
clearpart --all --initlabel --drives=sda
part /boot --fstype=ext4 --size=500
part / --fstype=ext4 --asprimary --size=7500
part swap --asprimary --size=6000
part /opt --fstype=ext4 --grow --asprimary --size=1
#repo --name="Red Hat Enterprise Linux" --baseurl=http://192.168.2.17/rhel/6.2Server/os/x86_64/Server --cost=100
%packages
@base
@client-mgmt-tools
@console-internet
@core
@debugging
@directory-client
@hardware-monitoring
@large-systems
@network-file-system-client
@performance
@perl-runtime
@server-platform
@server-policy
pax
python-dmidecode
oddjob
sgpio
certmonger
pam_krb5
krb5-workstation
perl-DBD-SQLite
%end