Jay Turner wrote:
On Tue, 2006-11-07 at 08:25 -0500, Jason Edgecombe wrote:
ok, so how do I specify a registration code when doing a kickstart
install? What do I need to put in my kickstart file?
"key <key>" will work, where <key> is:
CLIENT
W == Workstation
V == Virtualization
SERVER
S == ClusterStorage
C == Clustering
V == Virtualization
And, of course, the options can be combined within Client and Server.
key WV doesn't work.
I've attached my kickstart file. the install complains about an
unrecognized "key" directive.
Thanks,
Jason
# Kickstart file automatically generated by anaconda.
install
nfs --server=myserver --dir=/kickstart/rhel5b1/distro
key WV
lang en_US.UTF-8
keyboard us
#xconfig --driver "vesa" --resolution 800x600 --depth 16 --startxonboot
xconfig --driver "vesa" --resolution 800x600 --depth 16
network --device eth0 --bootproto dhcp
rootpw --iscrypted **********************
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append="rhgb 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
clearpart --all --drives=sda
part /boot --fstype ext3 --size=200 --ondisk=sda
part pv.4 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.4
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000
--grow --maxsize=1984
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
reboot
%packages
@admin-tools
@base
@gnome-desktop
@kde-desktop
[EMAIL PROTECTED]
# needed for ATI driver
@legacy-software-development
[EMAIL PROTECTED]
[EMAIL PROTECTED]
gcc
make
# needed for openafs-client
binutils
%post
#!/bin/sh
# switch to virtual terminal 3 where status messages are shown.
chvt 3
echo ""
echo ""
echo "Begin %post section of kickstart install:"
echo ""
echo ""
umask 022
_______________________________________________
rhelv5-beta-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-beta-list