Created
December 6, 2017 08:02
-
-
Save hytdsh/81c410924009d7e3af979bdfc1b274dd to your computer and use it in GitHub Desktop.
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: | |
enp0s3: | |
dhcp4: no | |
addresses: [192.168.99.2/24] | |
gateway4: 192.168.99.1 | |
nameservers: | |
addresses: [8.8.8.8] | |
enp0s8: | |
dhcp4: yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo netplan generate