I have an instance connected to a network, and here is the profile I use to start it.
$ lxc profile show mylan
config: {}
description: ""
devices:
root:
path: /
pool: default
type: disk
mylan:
name: enp5s0
network: mylan
type: nic
name: myprofile
used_by:
- /1.0/instances/node1
And here is mylan
.
$ lxc network show mylan
config:
ipv4.address: none
ipv4.firewall: "false"
ipv6.address: none
ipv6.firewall: "false"
security.acls: internet
security.acls.default.egress.action: allow
security.acls.default.ingress.action: allow
description: ""
name: mylan
type: bridge
used_by:
- /1.0/instances/node1
- /1.0/profiles/myprofile
managed: true
status: Created
locations:
- none
Now I would like to connect this LXD network (mylan) to br0 running on my host machine so that it has internet access.
Is there a way to add this to the profile? Or is there a better way. I will have many instances so would like to not have to modify each one.