[Spacewalk-list] tftp menu question

rob morrien rmorrien at xs4all.nl
Sat Nov 14 22:48:05 UTC 2009


to all,


when i start the pxe boot from my pc i get a dhcp adress and tftp is
coming up with the screen options:

local
CentOS-54-i386:1:Spacewalk-Public-Cert

i select the second option and the pc starts booting
afther somemoments i see a request for an ip adress and domain name.

the next step should be using the generated ks-file.
on the screen i get the next message:
can't find: the next url:
http://192.168.1.72/cblr/svc/op/ks/profile/CentOS-54-i386:1:Spacewalk-Public-Cert

when i take my browser on the spacewalk machine with the same name

http://192.168.1.72/cblr/svc/op/ks/profile/CentOS-54-i386:1:Spacewalk-Public-Cert
 i get all the info on my screen:

see below

pls tell me what can be wrong


# Kickstart config file generated by Spacewalk Config Management
# Profile Label : CentOS-54-i386
# Date Created  : 2009-11-14 17:16:31.0

install
text
network --bootproto dhcp
url --url http://10.2.0.1/ks/dist/CentOS-54-i386
lang en_US
keyboard us
zerombr
clearpart --all
part /boot --fstype=ext3 --size=200
part pv.01 --size=1000 --grow
part swap --size=1000   --maxsize=2000
volgroup myvg pv.01
logvol / --vgname=myvg --name=rootvol --size=1000 --grow
bootloader --location mbr
timezone --utc Europe/Amsterdam
auth --enablemd5 --enableshadow
rootpw --iscrypted $1$xOC9nh0f$i01dEtWvWGRpwAip9/WrU1
selinux --permissive
reboot
firewall --disabled
skipx
key --skip
repo --name=centos-5.4-updates-i386
--baseurl=http://10.2.0.1/ks/dist/child/centos-5.4-updates-i386/CentOS-54-i386
repo --name=centos-5.4-tools
--baseurl=http://10.2.0.1/ks/dist/child/centos-5.4-tools/CentOS-54-i386

%packages

@ Base

%pre

wget
"http://10.2.0.1/cblr/svc/op/trig/mode/pre/profile/CentOS-54-i386:1:Spacewalk-Public-Cert"
-O /dev/null



%post --nochroot
mkdir /mnt/sysimage/tmp/ks-tree-copy
if [ -d /oldtmp/ks-tree-shadow ]; then
cp -fa /oldtmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy
elif [ -d /tmp/ks-tree-shadow ]; then
cp -fa /tmp/ks-tree-shadow/* /mnt/sysimage/tmp/ks-tree-copy
fi
cp /etc/resolv.conf /mnt/sysimage/etc/resolv.conf
cp -f /tmp/ks-pre.log /mnt/sysimage/root/

%post
( # Log %post errors
 # --Begin Spacewalk command section--
cat > /tmp/ssl-key-1 <<'EOF'
Certificate:
    Data:





More information about the Spacewalk-list mailing list