Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:27
    heroin-moose edited #2622
  • 10:55
    heroin-moose edited #2622
  • 10:51
    heroin-moose edited #2622
  • 10:50
    heroin-moose edited #2622
  • 10:50
    heroin-moose labeled #2622
  • 10:50
    heroin-moose opened #2622
  • 10:18
    smartfish starred cobbler/cobbler
  • Apr 20 15:00
    GSLabIt starred cobbler/cobbler
  • Apr 20 13:11
    mitodeboa commented #2614
  • Apr 20 12:25
    Yakulu starred cobbler/cobbler
  • Apr 20 10:08
    SchoolGuy closed #2614
  • Apr 20 10:08
    SchoolGuy commented #2614
  • Apr 20 10:08
    SchoolGuy demilestoned #2614
  • Apr 20 09:59
    mitodeboa commented #2614
  • Apr 20 09:09
    mitodeboa commented #2614
  • Apr 20 08:22
    SchoolGuy commented #2604
  • Apr 20 08:22
    SchoolGuy commented #2604
  • Apr 20 08:22
    SchoolGuy commented #2604
  • Apr 20 08:04
    nodeg labeled #2614
  • Apr 20 08:03
    nodeg commented #2614
hagaluly
@hagaluly
do you have a copy of /etc/cobbler/dhcpd.template ?
4 replies
somthing in the files logic is not working for me
hagaluly
@hagaluly
ok so i understand what the issue is
in /etc/cobbler/dhcp.template there is a line at the bottom... filename "$iface.filename";
1 reply
its not resolving to the correct filename
when i set it statically its working
hagaluly
@hagaluly
i took dhcp.template from original source code ran cobbler sync and got errors
hagaluly
@hagaluly
question :-)
why is my dhcp.template can only take "pxe-system-type" and not system-arch?
3 replies
egotthold
@egotthold:matrix.org
[m]
That is short for interface
hagay
@hagay_bar_gitlab
im trying to fix filename per subnet. have you any idea how to acomplish?
xxedgexx
@xxedgexx

@xxedgexx: The best place is either /var/log/cobbler/cobbler.log or as an alternative you can watch the DHCP log to see what happens.

Yep. I've checked logs. Nothing interesting that I can see. Is there a debug mode for the %post section in a kickstart config? I'd like to see why it fails on that post snippet specifically.

1 reply
hagaluly
@hagaluly
is there a way to use variables within /etc/cobbler/shcpd.template?
hagaluly
@hagaluly
1 reply

set $x = 2 or #set $x = "koko_melon"

egotthold
@egotthold:matrix.org
[m]
@hagaluly: So I compared our templates to the ones we are handing out from upstream. All five templates I compared, are identicall to upstream with the exception to static includes for machines which are Non-Cobbler, our NIS Setup and the timezone. But everything in regard to the filename is identical to upstream.
Consus
@heroin-moose
Hi guys
I have a little crazy cobbler setup and I seek some guidance on how to organize it
Consus
@heroin-moose
Basically I have a bunch of regular OSes that fit Cobbler great. But also I have a custom OS that is deployed via a combination of a kernel, an initrd and an installation image that is fetched by the initrd from a HTTP mirror.
Installation works great, but in my organization we are trying to use Cobbler to deploy test images of this OS as well and there are hundreds of them, so creating a profile per image makes cobbler profile list undreadable
My current approach is to create a single profile that declares all the necessary templates and then specify which exact image I want with autoinstall metadata, but this approach requires a user to know the name of the image beforehands
Consus
@heroin-moose

Is it possible to do something like

$ cobbler profile list --parent foobar-os

without cluttering the top-level profiles list?

Dammit, cobbler profile find --parent foobar-os
Sorry for the noise
Thomas Renninger
@watologo1
@heroin-moose I do not use images, only full installationsm not sure about the guy who posted this pull request..:
[WIP: Feature/multilevel boot menu] (cobbler/cobbler#2575)
He has similar issues (looooots of profiles) and this is his solution. Pull request is more or less accepted, unfortunately quite some (lots of lines, but not complicated) adjusting is necessary, due to a recent change in logging... Does/could this help?
egotthold
@egotthold:matrix.org
[m]
@heroin-moose: So currently there is no functionallity to filter in profile list afaik. But you can of course use: cobbler <item> find or as an alternative:
XMLRPC (can be called from anywhere if it is exposed): https://github.com/cobbler/cobbler/blob/master/cobbler/remote.py#L924
Python API (only on the Cobbler Host): https://github.com/cobbler/cobbler/blob/master/cobbler/api.py#L843
Consus
@heroin-moose
Damn this is a huge PR
egotthold
@egotthold:matrix.org
[m]
And it is not yet done. It is definitly not tested so far... XD
Consus
@heroin-moose
But I believe that this is more of a pxelinux linux boot menu issues
This is not an issue for me since the process is automated and each machine gets a single OS anyway
My troubles lie more in CLI/WEBUI area than boot menu
egotthold
@egotthold:matrix.org
[m]

@heroin-moose: So currently there is no functionallity to filter in profile list afaik. But you can of course use: cobbler <item> find or as an alternative:
XMLRPC (can be called from anywhere if it is exposed): https://github.com/cobbler/cobbler/blob/master/cobbler/remote.py#L924
Python API (only on the Cobbler Host): https://github.com/cobbler/cobbler/blob/master/cobbler/api.py#L843

Then this is maybe an option?

Consus
@heroin-moose
cobbler profile find, yeah
It looks more or less acceptable
But I wonder what happens when UI will be ready
A profile autocompletion and suggestion list based on inherited distro would be very cool
egotthold
@egotthold:matrix.org
[m]
Open a Feature Request. It sounds indeed very reasonable.
Consus
@heroin-moose
Will do
egotthold
@egotthold:matrix.org
[m]
Thanks a lot!
Consus
@heroin-moose

BTW, I have a patch cooking up that makes discovery in CLI a little easier

$ cobbler distro list --detail
NAME            ARCH     BREED   OS_VERSION  BOOT_LOADER  OWNER
packer-x86_64   x86_64   packer  base        ipxe         admin
packer-ppc64le  ppc64le  packer  base        pxelinux     admin

Would you be interested?

egotthold
@egotthold:matrix.org
[m]
Yes please open a Pull Request! I am very looking forwards for new contributions from the community! :)
Consus
@heroin-moose
Cool, will do
egotthold
@egotthold:matrix.org
[m]
Only nitpicking I will do is if tests are missing. If you don't know how to write them, I will do it for you but that takes time since I am currently busy with finishing my apprenticeship. :)
Consus
@heroin-moose
Yeah, sure, I'll write tests
@egotthold:matrix.org, Feature Request should go to cobbler-web, right?
egotthold
@egotthold:matrix.org
[m]
@heroin-moose: Open it for the Core. The new Web Interface is not usable as of now. When the first Version is tagged then we can open Feature Requests...
Consus
@heroin-moose
Got it
Consus
@heroin-moose
Done