Skip to content

Instantly share code, notes, and snippets.

@wzhliang
Created June 30, 2020 06:26
Show Gist options
  • Save wzhliang/056425fffc10dea3d96f55760aaf169e to your computer and use it in GitHub Desktop.
Save wzhliang/056425fffc10dea3d96f55760aaf169e to your computer and use it in GitHub Desktop.
# This file is generated from information provided by the datasource. Changes
# to it will not persist across an instance reboot. To disable cloud-init's
# network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
eth0:
addresses: ["10.0.2.12/16"]
gateway4: "10.0.0.1"
dhcp4: false
nameservers:
addresses: ["8.8.8.8", "8.8.4.8"]
optional: true
version: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment