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

Andres Rodriguez andreserl at ubuntu-pe.org
Thu Sep 29 14:39:27 UTC 2011


Hi Ronen,

Yes, kernel options take precedence to the ones on the preseed file.

I do agree that the duplicated hostname= might be a bug,m however, the
way how cobbler handles this is done differently. I'd suggest you remove
the kopts for hostname=ubu2 and set the system's hostname so that it
gest filled automatically. You do that as follows:

sudo cobbler system edit --name <name-of-system> --hostname ubu2

By setting the hostname on the system, then the PXE file generated
above, will contain the following:

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

If you set the hostname to be fqnd, then the domain should also be
filled. Example:

sudo cobbler system edit --name <name-of-system> --hostname
ubu2.testing.com

The PXE file will be:

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

Hope this information helps.

-- 
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