User Tools

Site Tools


lxc:profiles:profiles:create_a_bridge_profile

This is an old revision of the document!


LXC - Profiles - Profiles - Create a Bridge Profile

lxc profile create bridgeprofile

Edit

lxc profile edit bridgeprofile

Edit as follows:

config: {}
description: Bridged networking LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: br0
    type: nic
name: bridgeprofile

Show the profile

lxc profile show bridgeprofile

To assign the profile to a container

lxc profile assign containername default,bridgeprofile

NOTE: The default profile must also be assigned as shown.

lxc/profiles/profiles/create_a_bridge_profile.1610037297.txt.gz · Last modified: 2021/01/07 16:34 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki