What is the correct way of making nmcli commands persistent?
For example: nmcli device modify eth0 ipv4.method auto
works but if I reboot the machine this is lost.
I know about interactive nmcli> save
but I do not want to use interactive mode and I was not able to find the param neded to save these.
What is the unattended version to perform this manual operations?
nmcli c e eth0
set ipv4.method auto
set ipv6.method auto
set 802-3-ethernet.mtu 9000
save persistent
quit