Am 2/3/20 um 4:23 PM schrieb Per Jessen:
Daniel Spannbauer wrote:
Am 2/3/20 um 1:22 PM schrieb Per Jessen:
Daniel Spannbauer wrote:
Hello,
ist it possible to configure an additional ip adress via the yast2 command line interface? Dunno about yast2, but how about "ip addr add x.x.x.x/n dev ethX" Yes, I know it. But it has gone with the next reboot.
The to configure it via yast so it is written in the standard config would be a nice way. you start up yast, go into network config, edit the interface and add the address(es) you want.
It all goes into /etc/sysconfig/network/ifcfg-ethX.
I wan't to change the settings out of a python script. 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. Regards Daniel -- Daniel Spannbauer Systemadministration marco Systemanalyse und Entwicklung GmbH Tel +49 8333 9233-27 Fax -11 Rechbergstr. 4-6, D 87727 Babenhausen Mobil +49 171 4033220 http://www.marco.de/ Email ds@marco.de Geschäftsführer Martin Reuter HRB 171775 Amtsgericht München -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org