mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
38 lines
936 B
ReStructuredText
38 lines
936 B
ReStructuredText
python-ifupdown2-addons
|
|
=======================
|
|
|
|
This package depends on python-ifupdown2. It provides addon python modules
|
|
for network interface configuration. see python-ifupdown2 documentation
|
|
for more info.
|
|
|
|
It installs python modules under /usr/share/ifupdownmodules.
|
|
|
|
All modules work on the iface object published by python-ifupdown2.
|
|
For more details on adding a addon module, see the developer documentation.
|
|
|
|
Example: Address handling module /usr/share/ifupdownaddons/address.py
|
|
|
|
|
|
build
|
|
=====
|
|
- get source
|
|
|
|
- install build dependencies:
|
|
apt-get install python-stdeb
|
|
apt-get install python-docutils
|
|
|
|
- cd <python-ifupdown2-addons sourcedir> && ./build.sh
|
|
|
|
(generates python-ifupdown2-addons-<ver>.deb)
|
|
|
|
install
|
|
=======
|
|
|
|
- remove existing ifupdown package
|
|
dpkg -r ifupdown
|
|
|
|
- install pre-requisite package python-ifupdown2
|
|
|
|
- install python-ifupdown2-addons using dpkg:
|
|
dpkg -i python-ifupdown2-addons-<ver>.deb
|