/usr/share/doc/netplan.io/examples/static.yaml is in netplan.io 0.40.1~18.04.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | network:
version: 2
renderer: networkd
ethernets:
enp3s0:
addresses:
- 10.10.10.2/24
gateway4: 10.10.10.1
nameservers:
search: [mydomain,otherdomain]
addresses: [10.10.10.1, 1.1.1.1]
|