All,
I am running cobbler-1.2.8-1 and I am having some issues getting the pxe_just_once feature
working. We have a scenario where the kickstart completes and the build process continues
to go through a loop. This is mostly because we keep PXE enabled as a default on a large
portion of our systems, but I thought the pxe_just_once flag will allow cobbler to disable
the the system by removing the pxe links in /tftpboot when the system makes a final call
out to cobbler to tell it has completed?
See below..
Its enabled and cobblerd is restarted/running:
root@xenguest01:/# grep pxe_just_once /etc/cobbler/settings
pxe_just_once: 1
root@xenguest01:/#
Host is set to netboot itself on next boot:
root@xenguest01:/# cobbler system report --name=client | grep netboot
netboot enabled? : True
root@xenguest01:/#
.
.
.
Kickstart completes
.
.
.
Host remains with the netboot flag still enabled, shouldnt this have disabled itself?
root@xenguest01:/# cobbler system report --name=core001.lax02.mtt | grep netboot
netboot enabled? : True
root@xenguest01:/#
$kickstart_done is specified in the %post section of the kickstart template:
root@xenguest01:/etc/cobbler# grep done fedora9_template.ks
$kickstart_done
root@xenguest01:/etc/cobbler#
Thanks,
- Chris