Files
lxd-profiles/profiles/networking/public-gateway.profile.yaml

28 lines
558 B
YAML

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