netplan ifupdown-migrate fails to handle multi-field auto
Bug #1748635 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Saw this today on a server that acts as a router for me, so has quite a few bonded networks:
$ sudo netplan ifupdown-migrate
Expected 1 fields for stanza type auto but got 3
Will attach the relevant /e/n/interfaces for your debugging pleasure :)
To post a comment you must log in.
I see that your `interfaces` file contains lines like:
auto p2p2 inet manual
auto p5p1 inet manual
auto p5p2 inet manual
These should instead be:
auto p2p2
auto p5p1
auto p5p2
It seems that ifupdown is less strict than netplan about what it accepts after "auto". (I guess it ignores arguments that aren't interface names; I vaguely remember using syntax such as "auto eth0 eth1", but I'm not positive that works.)