Skip to content

net-netplan.plugin.bash¤

netplan network configurations.

group:net | runtype:systemd | deps: os-systemd | port: -

Usage
net-netplan help|install|uninstall|download|disable|configgen|configapply|check|run
$ net-netplan install - install netplan network management
$ net-netplan uninstall - uninstall netplan
$ net-netplan download - download netplan package files to pkg dir
$ net-netplan disable - disable netplan plugin
$ net-netplan configgen - generate netplan configuration files
$ net-netplan configapply - apply netplan configuration files
$ net-netplan check - check netplan plugin status
$ net-netplan run - run netplan network services
$ net-netplan help - show this help message
Description

Netplan provides modern Ubuntu/Debian network management with YAML configuration files.

Jangbi Configs¤

/opt/jangbi/.config
RUN_NET_NETPLAN=1 # enable netplan network management

Check if running¤

bash command
$ netplan status
● 1: lo ethernet UNKNOWN/UP (unmanaged) 2: eth0 ethernet UP (networkd: eth0)
$ systemctl status systemd-networkd
● systemd-networkd.service - Network Service
   Active: active (running)

Current Configuration¤

Current configuration is stored in /etc/netplan/. it is generated by net-netplan configgen command on install. You can edit it manually and not run install or configapply commands to keep current configurations.

/etc/netplan/01-netcfg.yaml