Module: config

This module is used to deal with all config files:

  • /etc/linuxmuster-linuxclient7/network.conf

Members

linuxmusterLinuxclient7.config.network()[source]

Get the network configuration in /etc/linuxmuster-linuxclient7/network.conf

Returns

Tuple (success, dict of keys)

Return type

tuple

linuxmusterLinuxclient7.config.upgrade()[source]

Upgrade the format of the network configuration in /etc/linuxmuster-linuxclient7/network.conf This is done automatically on package upgrades.

Returns

True or False

Return type

bool

linuxmusterLinuxclient7.config.writeNetworkConfig(newNetworkConfig)[source]

Write the network configuration in /etc/linuxmuster-linuxclient7/network.conf

Parameters

newNetworkConfig (dict) – The new config

Returns

True or False

Return type

bool