Answer the question
In order to leave comments, you need to log in
Debian 9 network format in Cloud-init?
What is the correct cloud-init network format for Debian9?
This format works fine for Centos 7, Ubuntu 16.04/18.04
version: 1
config:
- type: physical
name: eth0
subnets:
- type: static
address: 10.0.1.40
netmask: 255.255.255.0
gateway: 10.0.1.1
dns_nameservers:
- 8.8.8.8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question