(foudres) cloud-init % cat network_configs/my-manual.yaml
version: 1
config:
- type: physical
name: eth0
mac_address: "52:54:00:12:34:00"
subnets:
- type: static
address: 192.168.1.2/24
- type: static
control: manual
address: 192.168.1.3/24
(foudres) cloud-init % cat target-sysconfig/etc/sysconfig/network-scripts/ifcfg-eth0
# Created by cloud-init on instance boot automatically, do not edit.
#
BOOTPROTO=none
DEVICE=eth0
HWADDR=52:54:00:12:34:00
IPADDR=192.168.1.2
IPADDR1=192.168.1.3
NETMASK=255.255.255.0
NETMASK1=255.255.255.0
NM_CONTROLLED=no
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
(foudres) cloud-init %