Bug 38821

Summary: Double "linux" entry in pxelinux.cfg/ file
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UCS Net InstallerAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Daniel Tröder <troeder>
Severity: normal    
Priority: P5 CC: gohmann, walkenhorst
Version: UCS 4.1   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Philipp Hahn univentionstaff 2015-07-02 15:52:37 CEST
$ di serverinstallerpxe.py
diff --git a/branches/ucs-4.0/ucs-4.0-2/services/univention-net-installer/serverinstallerpxe.py b/branches/ucs-4.0/ucs-4.0-2/services/univention-net-installer/serverinstallerpxe.py
index 3dd6925..902de34 100755
--- a/branches/ucs-4.0/ucs-4.0-2/services/univention-net-installer/serverinstallerpxe.py
+++ b/branches/ucs-4.0/ucs-4.0-2/services/univention-net-installer/serverinstallerpxe.py
@@ -118,7 +118,7 @@ def gen_pxe(new):
                                APPEND %(append)s
                                IPAPPEND %(ipappend)s
 
-                       LABEL linux
+                       LABEL local
                                LOCALBOOT 0
                        ''') % {
                                'kernel': listener.configRegistry.get('pxe/installer/kernel', 'linux'),
Comment 1 Philipp Hahn univentionstaff 2016-02-02 14:12:54 CET
r67126 | Bug #38821 net: Fix double 'linux' entry

Package: univention-net-installer
Version: 9.0.1-2.32.201602021402
Branch: ucs_4.1-0
Scope: errata4.1-0

r67129 | Bug #40559,Bug #39937,Bug #38821,Bug #33361,Bug #3406 net: YAML
 univention-net-installer.yaml
Comment 2 Daniel Tröder univentionstaff 2016-02-09 12:45:24 CET
OK: advisory
OK: code change:
$ grep LABEL /tmp/r67125/serverinstallerpxe.py
			LABEL linux
			LABEL linux
$ grep LABEL /tmp/r67126/serverinstallerpxe.py
			LABEL linux
			LABEL local
OK:  manual test:

root@ni-m49:~# udm computers/domaincontroller_master list --filter instprofile=master | egrep 'DN|ip:|mac:'
DN: cn=m48,cn=dc,cn=computers,dc=uni,dc=dtr
  ip: 10.200.3.48
  mac: 52:54:00:19:91:6f


root@ni-m49:~# grep LABEL /var/lib/univention-client-boot/pxelinux.cfg/0AC80330
LABEL linux
LABEL local
Comment 3 Janek Walkenhorst univentionstaff 2016-02-11 14:01:32 CET
<http://errata.software-univention.de/ucs/4.1/108.html>