Adam Rosenwald wrote:
Tom Brown wrote:
OK. Something is definitely missing here. Notice how
(http://www.redhat.com/magazine/024oct06/features/kickstart/) GRUB
contains options for setting the IP address, netmask, and gateway
for the system you intend to boot. These arguments are /*not*/ set
in /your/ grub configuration. As to why they are not, either you
didn't specify them during your cobbler system provisioning OR there
is some kind of a bug in koan's 'reprovision' logic. Likely the
former. Please double check that you specified
cobbler .... --ip=X --subnet=Y --gateway=Z ...
in your provision command.
# cobbler system report --name=xxxxxx
system : xxxxxx
profile : RHEL4-u5-i386-prd
kernel options : {}
kickstart : <<inherit>>
ks metadata : {'nameserver': '10.xxx.xxx.117'}
netboot enabled? : True
owners : ['admin']
server : <<inherit>>
virt cpus : <<inherit>>
virt file size : <<inherit>>
virt path : <<inherit>>
virt ram : <<inherit>>
virt type : <<inherit>>
interface : intf0
mac address : 00:13:72:69:95:7E
ip address : 10.xxx.xxx.19
hostname : xxxxxx
gateway : 10.xxx.xxx.253
subnet : 255.255.254.0
virt bridge :
dhcp tag :
that seems fine to me?
and the koan version on the client
# rpm -qa | grep koan
koan-1.0.0-1.el4
thanks for any further info
OK... good. If you could try to do so, please reprovision your system
with the following amendment:
* cobbler ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117' ...
Resync and see if the new grub file installed after koaning looks the
part.
-A.
Sorry. You could have also overridden the kernel options in koan itself:
* koan ... --kopts='ip=10.xxx.xxx.19 netmask=255.255.254.0
gateway=10.xxx.xxx.253 dns=10.xxx.xxx.117'
Basically koan doesn't make use of the cobbler's own --ip, --gateway,
--subnet variables when interfacing with grubby to create the grub
config file; rather it /only/ makes use of --kopts. This is rather
nonintuitive, and it's difficult for me to think of a situation where
one is attempting to reprovision (via koan --replace-self) a system, yet
not want import those cobbler dictionary values (ip, subnet, etc.) into
grub kernel arguments.
Then, there is the problem of precedence: do --ip, --subnet, etc.
override --kopts='ip=... netmask=...' if both are declared? Or vice
versa? This is a policy decision which Michael shouldn't have to worry
about enforcing. Rather, it may be more relevant to update the cobbler
wiki under 'koan replace-self procedure'.
-A.
_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools