Univention Bugzilla – Bug 29904
changing ucc/pxe ucr variables does not affect existing pxe configurations
Last modified: 2014-06-12 09:19:48 CEST
-> ucr set ucc/pxe/ldapport=1244 -> grep 1244 /var/lib/univention-client-boot/pxelinux.cfg/* In tcs we had a ucr module (script) that was bound to the pxe variables and changed to values in the pxe configuration file in place. Alternatively, we could run univention-directory-listener-ctrl resync uccpxeboot to recreate the configurations.
see also ucs-2.4/ucs-tcs/univention-client-boot-pxe-/conffiles/clientbootpxe.py
This simplifies things a lot and the code is already there.
Added the ucr module uccpxeboot.py. This module update the followings settings in the existing pxe configs if the corresponding ucr vars are changed Flag: splash -> ucc/pxe/bootsplash Flag: quiet -> ucc/pxe/quiet Parameter: timezone=%s -> ucc/pxe/timezone Parameter: loglevel=%s -> ucc/pxe/loglevel Parameter: vga=%s -> ucc/pxe/vga Parameter: keyboard=%s -> xorg/keyboard/options/XkbLayout Parameter: locale=%s -> locale/default Generic: %s -> ucc/pxe/append NFSROOT: nfsroot=%s:/var/lib/univention-client-root -> ucc/pxe/nfsroot
- Typo in module conffiles/uccpxeboot.py: the default path is /var/lib/univention-client-boot OK: All parameter changes are set correctly and are applied to the pxeconfig OK: Changelog
(In reply to Erik Damrose from comment #4) > - Typo in module conffiles/uccpxeboot.py: the default path is > /var/lib/univention-client-boot fixed
Typo has been fixed. Bug verified!
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".