diff --git a/profiles/networking/back.profile.yaml b/profiles/networking/net-back.profile.yaml similarity index 57% rename from profiles/networking/back.profile.yaml rename to profiles/networking/net-back.profile.yaml index 52c242f..6bc9e3b 100644 --- a/profiles/networking/back.profile.yaml +++ b/profiles/networking/net-back.profile.yaml @@ -1,16 +1,13 @@ -name: back +name: net-back description: Profile that provide a network interface attached to the back bridge devices: eth0: + type: nic nictype: bridged parent: back - type: nic config: cloud-init.network-config: | - version: 1 - config: - - type: physical - name: eth0 - subnets: - - type: dhcp - ipv4: true + version: 2 + ethernets: + eth0: + dhcp4: true diff --git a/profiles/networking/front.profile.yaml b/profiles/networking/net-front.profile.yaml similarity index 57% rename from profiles/networking/front.profile.yaml rename to profiles/networking/net-front.profile.yaml index f17df4a..80267a7 100644 --- a/profiles/networking/front.profile.yaml +++ b/profiles/networking/net-front.profile.yaml @@ -1,16 +1,13 @@ -name: front +name: net-front description: Profile that provide a network interface attached to the front bridge devices: eth0: + type: nic nictype: bridged parent: front - type: nic config: cloud-init.network-config: | - version: 1 - config: - - type: physical - name: eth0 - subnets: - - type: dhcp - ipv4: true + version: 2 + ethernets: + eth0: + dhcp4: true diff --git a/profiles/networking/home.profile.yaml b/profiles/networking/net-home.profile.yaml similarity index 57% rename from profiles/networking/home.profile.yaml rename to profiles/networking/net-home.profile.yaml index c521053..dfe95ac 100644 --- a/profiles/networking/home.profile.yaml +++ b/profiles/networking/net-home.profile.yaml @@ -1,16 +1,13 @@ -name: home +name: net-home description: Profile that provide a network interface attached to the home bridge devices: eth0: + type: nic nictype: bridged parent: home - type: nic config: cloud-init.network-config: | - version: 1 - config: - - type: physical - name: eth0 - subnets: - - type: dhcp - ipv4: true + version: 2 + ethernets: + eth0: + dhcp4: true diff --git a/profiles/networking/public.profile.yaml b/profiles/networking/net-public.profile.yaml similarity index 57% rename from profiles/networking/public.profile.yaml rename to profiles/networking/net-public.profile.yaml index f1bee56..4647867 100644 --- a/profiles/networking/public.profile.yaml +++ b/profiles/networking/net-public.profile.yaml @@ -1,16 +1,13 @@ -name: public +name: net-public description: Profile that provide a network interface attached to the public bridge devices: eth0: + type: nic nictype: bridged parent: public - type: nic config: cloud-init.network-config: | - version: 1 - config: - - type: physical - name: eth0 - subnets: - - type: dhcp - ipv4: true + version: 2 + ethernets: + eth0: + dhcp4: true