Are you calling the trigger to disable it using the special stanza at
your ks file?
"$kickstart_done"
Regards
Pablo
El vie, 31-10-2008 a las 07:36 -0700, Christopher Johnston escribió:
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
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler --
Pablo Iranzo Gómez (Pablo.Iranzo(a)redhat.com)
RHCE/RHCSP/RHCSS Global Profesional Services Consultant Spain
Phone: +34 645 01 01 49 (CET/CEST)
GnuPG KeyID: 0xFAD3CF0D
--
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41
Directores: Michael Cunningham, Charlie Peters y David Owens
Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España
Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 Madrid,
Spain