3 Feb
2020
3 Feb
'20
16:53
On 2020-02-03 11:37 AM, Per Jessen wrote:
I want to change the settings out of a python script. Aha.
A nice way was to call yast via the command line interface (yast help or .e.g yast lan help)
I don't wan't to write the config out via my python script. TMK, there is no API today that would permit editing /etc/sysconfig/network/ifcfg-ethX.
I edit it with vi, sometimes with sed in installation scripts.
The bash command was already given. You just need to include that in your script. Then start the script on boot up, according to current practice. I don't know what that current practice is though. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org