Created
March 26, 2023 13:58
-
-
Save celeron633/0f511e6badd4cda0ecb9ec9a0e80a8df to your computer and use it in GitHub Desktop.
01-netcfg.yaml for netplan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes the network interfaces available on your system | |
# For more information, see netplan(5). | |
network: | |
version: 2 | |
renderer: networkd | |
ethernets: | |
enp1s0: | |
dhcp4: no | |
addresses: [192.168.31.2/24] | |
gateway4: 192.168.31.1 | |
nameservers: | |
addresses: [8.8.8.8,8.8.4.4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment