532 B
532 B
created, category, title, tags
| created | category | title | tags | |
|---|---|---|---|---|
| 2026-05-15T10:23:05 |
|
Linux CLI Commands |
Network config
network config file is located (usually 01-netcfg.yaml or 50-cloud-init.yaml)
nano /etc/netplan/50-cloud-init.yaml
typical config
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: false
addresses:
- 192.168.1.100/24
routes:
- to: default
via: 192.168.1.1
then try
sudo netplan try
or apply
sudo netplan apply