Is not critical and is possible solve until some point.
Now, for Fedora Server and even for Debian Server is possible use the nmcli command.
The good thing is that a .yaml file is not involved, therefore:
The error prone of its own syntax is gone
Is not necessary upgrade its own syntax (for example about the routes key part)
Question
How to revert by complete the effects/settings of the netplan command?
Of course at a first glance is move to other place the /etc/netplan/01-netcfg.yaml file but to be sure I am creating this post prior to use the nmcli command to avoid any kind of complications
Purpose
Configure from the scratch as a new installation the static ip through the nmcli command and expecting that the secondary ip dynamic case does not appear.
Note: the OS runs in an isolated environment through VirtualBox
If I understand this correctly, you ard trying to return all network settings on one static ip interface to their defaults.?
Not really. I want have the settings about networking as it came from the beginning, I mean, it when the OS itself was installed for first time. By default was a dynamic ip. But I am assuming that perphaps other settings were defined from the beginning in the network
Therefore I want start to define the static ip with all the default settings as the first time. But now working with the nmcli command
Huge thanks for the link. I am going to do a research about that.
I played with nmcli thanks to Fedora Server and I liked, no more .yaml involved. Perhaps more commands to execute but is straightforward and possible create a script file in peace
I did do realize it is well maintained
Another option is Conman… have you tried that?
Never used, it because so far I had zero problems with nmcli and to be honest I didn’t know about its existence. Thanks for that extra info too.