Commit 777ae25
committed
append only valid key=value lines for agama.conf
inst.info=URL allows to retrieve agama settings from a remote
location. Usually the expected settings are in key=value format.
This change allows to reuse the inst.info=URL feature for the cobbler
"nopxe" API, just like it is done in linuxrc. The system needs to notify
cobbler that it booted "far enough", so that cobbler can change the boot
loader default from "boot from network" to "boot from local disk". The
client has to send a HTTP GET request to the specified URL. cobbler
sends the four bytes 'True' in return, which can system has to ignore.
Since the content is not and can not be a valid Agama key=value pair,
consider only lines that contain '=' in the input file.
Fixes #2185
Signed-off-by: Olaf Hering <olaf@aepfle.de>1 parent 5fadd0f commit 777ae25
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments