Bug 38821 - Double "linux" entry in pxelinux.cfg/ file
Double "linux" entry in pxelinux.cfg/ file
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UCS Net Installer
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Philipp Hahn
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-02 15:52 CEST by Philipp Hahn
Modified: 2016-02-11 14:01 CET (History)
2 users (show)

See Also:
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>