Skip to content

Instantly share code, notes, and snippets.

@warroyo
Created August 23, 2019 01:06
Show Gist options
  • Save warroyo/32277fae9b987dcb3f74545fa1dbf469 to your computer and use it in GitHub Desktop.
Save warroyo/32277fae9b987dcb3f74545fa1dbf469 to your computer and use it in GitHub Desktop.
network config for cloud-init
network:
version: 1
config:
- id: ens192
name: ens192
subnets:
- address: 10.20.1.100
dns_nameservers:
- 192.168.1.1
gateway: 10.20.1.1
type: static
type: physical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment