getltsconffile fails to parse BOOT_IMAGE correctly for some cases
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
New
|
Undecided
|
Unassigned |
Bug Description
/usr/share/
There are some cases where this fails, for example a pxelinux.conf/ config that looks like:
kernel http://
append ro initrd=http://
Here is a patch to /usr/share/
# diff 05-getltsconffile /opt/ltsp-
5,6c5
< # The path may also be part of a URL so also need to remove leading 'proto://host'
< # If there is no path, we want just "lts.conf" without inserting a slash, as some tftp
---
> # If it doesn't, we want just "lts.conf" without inserting a slash, as some tftp
11c10
< boot_image=$(cat /proc/cmdline | sed -n 's/.*BOOT_
---
> boot_image=$(sed -n 's/.*BOOT_
description: | updated |
Hi Norman, please test the patch attached at the last comment of https:/ /bugs.launchpad .net/ltsp/ +bug/1594840
Closing this bug as duplicate of the other one.
Thanks!