https://github.com/jiegec/ifupdown-to-systemd-networkd
Migrate ifupdown configs to systemd networkd.
https://github.com/jiegec/ifupdown-to-systemd-networkd
Last synced: 27 days ago
JSON representation
Migrate ifupdown configs to systemd networkd.
- Host: GitHub
- URL: https://github.com/jiegec/ifupdown-to-systemd-networkd
- Owner: jiegec
- Created: 2022-07-08T12:36:40.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-18T14:31:58.000Z (3 months ago)
- Last Synced: 2025-04-01T17:09:21.136Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ifupdown-to-systemd-networkd
Convert `/etc/network/interfaces` to systemd networkd configs.
Supported:
1. Basic: address, gateway, mtu, dhcp
2. Bonding
3. VLAN
4. Simple post-up scripts e.g. `ip route add` & `ip rule add`Usage:
```shell
pip3 install git+https://github.com/jiegec/ifupdown-to-systemd-networkd.git
ifupdown-to-systemd-networkd# or use locally
git clone https://github.com/jiegec/ifupdown-to-systemd-networkd.git
cd ifupdown-to-systemd-networkd
poetry install
poetry run ifupdown-to-systemd-networkd
```