I need to write script in Python to read/write /etc/network/interfaces file.
It is not parse-able with builtin module ConfigParser because there are no sections.
Is there any parser for such files? Or maybe Python module to manage network configuration?
Or maybe there are other ways to read/change network interfaces settings?!