-
Notifications
You must be signed in to change notification settings - Fork 68
Ensure the NetworkManager persistent connections are copied unless disabled explicitly #2299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
40fc259 to
68b9cce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes looking good to me.
live/live-root/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
Show resolved
Hide resolved
68b9cce to
4f821d7
Compare
live/live-root/usr/lib/dracut/modules.d/99agama-cmdline/save-agama-conf.sh
Outdated
Show resolved
Hide resolved
| if getargbool 1 inst.copy_network; then | ||
| # If there is some explicit network configuration provided through the ip= kernel cmdline option | ||
| # then we set the config server configuration diabling the DHCP auto configuration for ethernet | ||
| # devices and also copying the configuration persistently (bsc#1241224, bsc#122486, bsc#1239777, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
np: do you need persistently here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we could replace it by to /etc..
…gama-conf.sh Co-authored-by: Imobach González Sosa <[email protected]>
Prepare to release Agama 15: * #2258 * #2270 * #2277 * #2279 * #2283 * #2284 * #2285 * #2286 * #2287 * #2288 * #2291 * #2292 * #2293 * #2295 * #2297 * #2299 * #2300 * #2301 * #2302 * #2303 * #2305 * #2306 * #2307 * #2308 * #2309 * #2313 * #2314 * #2315 * #2317 * #2318 * #2319 * #2320 * #2321 * #2322 * #2323 * #2324 * #2325 * #2328 * #2329 * #2330 * #2331 * #2335 * #2336 * #2337 * #2338 * #2339 * #2340 * #2342 * #2345 * #2346 * #2348 * #2349 * #2350 * #2351 * #2352 * #2353 * #2354 * #2355 * #2357 * #2358 * #2359 * #2360 * #2361 * #2362 * #2363 * #2364 * #2365 * #2366 * #2368 * #2369 * #2370 * #2371 * #2372 * #2374 * #2377 * #2378 * #2379 * #2380 * #2381 * #2382 * #2384 * #2385 * #2386 * #2388 * #2389 * #2390 * #2391 * #2392 * #2394 * #2397 * #2398 * #2401 * #2403
Problem
If there is no network configuration specified through the kernel cmdline then the /run/agama/copy_network is not created and that is wrong as the network configuration written persistently during installation will not be copied to the target system.
Solution
Modify the check discarding the copy of the network files if disabled explicitly (it will check if the /run/agama/not_copy_network file exists).
Testing