LXD Network and Profile for PHX
Install, initialize and configure LXD.
Categories:
This guide provides instructions for installing, initializing and configuring LXD . LXD is the default lightweight hypervisor for creating and managing lightweight VM’s in the form of Linux (LXC) containers.
Config LXD Network
lxc network create phx ipv6.address=none ipv4.address=192.168.60.1/24 ipv4.nat=true
lxc profile copy default phx
Now edit the profile phx and configure phx as the parent of eth1.
lxc profile edit phx #
The profile phx should be like below.
config: {}
description: PHX LXD profile
devices:
eth0:
name: eth0
network: lxdbr0
type: nic
eth1:
nictype: bridged
parent: phx
type: nic
root:
path: /
pool: c2d
type: disk
name: phx
used_by: []
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.