automatically start networkd if YAML config is present
Bug #1607693 reported by
Martin Pitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nplan (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
networkd is not enabled by default as it would be a pointlessly running daemon unless there is some actual configuration. netplan should automatically start networkd on boot if /etc/netplan/*.yaml exists so that it does not need to be enabled explicitly.
Changed in nplan (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
Changed in nplan (Ubuntu): | |
status: | Triaged → In Progress |
milestone: | none → ubuntu-16.08 |
Changed in nplan (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Plan:
- Move "generate" from being a .service to a systemd system-generator. Create a flag file in /run to only run at boot, not every time on daemon-reload.
- The future "netplan apply" will remove the flag file and re-run the generator.
- To provide easier access to YAML errors, provide a "netplan check" verb.