diff --git a/profiles/networking/back.profile.yaml b/profiles/networking/back.profile.yaml index 8f42b16..52c242f 100644 --- a/profiles/networking/back.profile.yaml +++ b/profiles/networking/back.profile.yaml @@ -5,3 +5,12 @@ devices: nictype: bridged parent: back type: nic +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true diff --git a/profiles/networking/front.profile.yaml b/profiles/networking/front.profile.yaml index ab952cc..f17df4a 100644 --- a/profiles/networking/front.profile.yaml +++ b/profiles/networking/front.profile.yaml @@ -5,3 +5,12 @@ devices: nictype: bridged parent: front type: nic +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true diff --git a/profiles/networking/frontback.profile.yaml b/profiles/networking/frontback.profile.yaml index 18fc687..5bc7da7 100644 --- a/profiles/networking/frontback.profile.yaml +++ b/profiles/networking/frontback.profile.yaml @@ -10,3 +10,17 @@ devices: nictype: bridged parent: back type: nic +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true + - type: physical + name: eth1 + subnets: + - type: dhcp + ipv4: true diff --git a/profiles/networking/home.profile.yaml b/profiles/networking/home.profile.yaml index 1abc54e..c521053 100644 --- a/profiles/networking/home.profile.yaml +++ b/profiles/networking/home.profile.yaml @@ -5,3 +5,12 @@ devices: nictype: bridged parent: home type: nic +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true diff --git a/profiles/networking/public-gateway.profile.yaml b/profiles/networking/public-gateway.profile.yaml new file mode 100644 index 0000000..44dbbeb --- /dev/null +++ b/profiles/networking/public-gateway.profile.yaml @@ -0,0 +1,27 @@ +name: public-gateway +description: Network configuration for public gateway (attached to both public and front networks) +devices: + eth0: + name: eth0 + type: nic + nictype: bridged + parent: public + eth1: + name: eth1 + type: nic + nictype: bridged + parent: front +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true + - type: physical + name: eth1 + subnets: + - type: dhcp + ipv4: true diff --git a/profiles/networking/public.profile.yaml b/profiles/networking/public.profile.yaml index 6b3ed22..f1bee56 100644 --- a/profiles/networking/public.profile.yaml +++ b/profiles/networking/public.profile.yaml @@ -5,3 +5,12 @@ devices: nictype: bridged parent: public type: nic +config: + cloud-init.network-config: | + version: 1 + config: + - type: physical + name: eth0 + subnets: + - type: dhcp + ipv4: true