[Spacewalk-list] setting dns in koan/cobbler for anaconda

BOUTILLIER Michael AWL-TOB michael.boutillier at atosorigin.com
Fri Apr 1 16:20:16 UTC 2011


Hi I try to provision a virtual kvm machine via koan/cobbler (maybe it is not the appropriate mailinglist...)
I try to do it with the command :
Koan command:
koan --virt --system=btdep0001ap.unix.domain.be --virt-name=btdep0001ap.unix.domain.be --virt-type=qemu --virt-bridge=br0 --virt-path=/var/lib/libvirt/images/ --qemu-disk-type=virtio --static-interface=eth0

My problem here is that koan start the machine with the following param to the installation image/kernel:
<cmdline>method=http://spacewalk.unix.banksys.be/ks/dist/rhel-server-5.4-x86_64/ ksdevice=eth0 noipv6 lang= text ks=http://space
walk.unix.domain.be/cblr/svc/op/ks/system/btdep0001ap.unix.domain.be netmask=255.255.255.0 ip=172.XX.XXX.57 kssendmac gateway=172.
XX.XXX.1 </cmdline>

--> of course when anaconda try to get the kickstart file, he cannot resolve the fqdn
I set the dns in the cobbler record, I don't understand why he didn't took it
I put here under my cobbler definition, and koan's log

Can someone tell me how/where to define it? What I'm missing?
Regards



Michael Boutillier
Unix System Engineering



Cobbler record:
17:21:08 root at spacewalk ~ # cobbler system report --name btdep0001ap.unix.banksys.be
Name                           : btdep0001ap.unix.banksys.be
Comment                        :
Gateway                        : 172.XXXXX.1
Hostname                       : btdep0001ap.unix.domain.be
Image                          :
Kernel Options                 : {'noipv6': '~'}
Kernel Options (Post Install)  : {'noipv6': '~'}
Kickstart                      : <<inherit>>
Kickstart Metadata             : {}
Management Classes             : []
Name Servers                   : ['172.XXXXX8', '172.XXXXX']
Name Servers Search Path       : []
Netboot Enabled                : True
Owners                         : ['admin']
Power Management Address       :
Power ID                       :
Power Password                 :
Power Management Type          : ipmitool
Power Username                 :
Profile                        : INST-APP-RHEL5-KVMGUEST-x86_64:1:SpacewalkPublicCert
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Server Override                : <<inherit>>
Template Files                 : {}
Virt Auto Boot                 : 1
Virt CPUs                      : <<inherit>>
Virt File Size(GB)             : <<inherit>>
Virt Path                      : <<inherit>>
Virt RAM (MB)                  : <<inherit>>
Virt Type                      : <<inherit>>
Interface =====                : eth0
Bonding Mode                   :
Bonding Master                 :
Bonding Opts                   :
DHCP Tag                       :
DNS Name                       :
IP Address                     : 172.XX.XXX.XX
MAC Address                    :
Static                         : True
Static Routes                  : []
Subnet                         : 255.255.255.0
Virt Bridge                    :




koan's log

[Wed, 30 Mar 2011 17:33:54 koan 12897] DEBUG (Guest:631) Creating guest from:
<domain type='kvm'>
  <name>btdep0001ap.unix.domain.be</name>
  <currentMemory>4194304</currentMemory>
  <memory>4194304</memory>
  <uuid>949c9549-467f-bfd3-f968-621289a446e6</uuid>
  <os>
    <type>hvm</type>
    <kernel>/var/lib/libvirt/boot/virtinst-vmlinuz.hX9ygR</kernel>
    <initrd>/var/lib/libvirt/boot/virtinst-initrd.img.cr_9jc</initrd>
    <cmdline>method=http://spacewalk.unix.banksys.be/ks/dist/rhel-server-5.4-x86_64/ ksdevice=eth0 noipv6 lang= text ks=http://space
walk.unix.domain.be/cblr/svc/op/ks/system/btdep0001ap.unix.domain.be netmask=255.255.255.0 ip=172.XX.XXX.57 kssendmac gateway=172.
XX.XXX.1 </cmdline>


Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg
- 1130 Brussels - Belgium
RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872
Bankrekening-Compte Bancaire-Bank Account 310-0269424-44
BIC BBRUBEBB - IBAN BE55 3100 2694 2444

"The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.
If you have received this message in error, please notify the sender and destroy it immediately after.
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."





More information about the Spacewalk-list mailing list