[Bug 827496] Re: cobbler kickstart metadata dont affect ubuntu preseed

Ronen narkisr at gmail.com
Thu Sep 29 14:06:33 UTC 2011


Hey Andres, after digging a bit further into the issue I think iv found
the cause, iv got a system that inherits from a profile, the parent
profile specifies the following kernel options:

priority=critical locale=en_US

In the inheriting system iv specified:

priority=critical locale=en_US hostname=ubu2

Iv found that cobbler generates a file under:

/var/lib/tftpboot/grub/MAC_ADDRESS


This file contains the hostname: 

title developer-desktop
    root (nd)
    kernel /images/ubuntu-alternate-x86_64/linux   locale=  locale=en_US text hostname=ubu2 priority=critical  auto url=http://192.168.4.18/cblr/svc/op/ks/system/ubu2 hostname= domain=local.lan suite=natty
    initrd /images/ubuntu-alternate-x86_64/initrd.gz


Notice that the hostname entry is duplicated with one entry empty, then when ill try to install a machine the installer will indeed complain about an empty hostname value, no matter what I specify in my kickstart meta data (looks like kernel options take precedence)

The only solution is to set the hostname in the systems kernel options
(leaving it out will also result with an empty value passed to the
installer no matter what).

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cobbler in Ubuntu.
https://bugs.launchpad.net/bugs/827496

Title:
  cobbler kickstart metadata dont affect ubuntu preseed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/827496/+subscriptions



More information about the Ubuntu-server-bugs mailing list