LXD Netwerk en Profiel voor PHX

Installeer, initialiseert en configureert LXD.

Deze handleiding biedt instructies voor het installeren, initialiseren en configureren van LXD . LXD is de standaard lichte hypervisor voor het maken en beheren van lichte VM’s in de vorm van Linux (LXC) containers.


Configureer LXD Netwerk

lxc network create phx ipv6.address=none ipv4.address=192.168.60.1/24 ipv4.nat=true
lxc profile copy default phx

Bewerk nu het profiel phx en configureer phx als de parent van eth1.

lxc profile edit phx  #

Het profiel phx zou er als volgt uit moeten zien.

config: {}
description: PHX LXD profiel
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: []


Laatst gewijzigd 2025.09.29: glossary gitlab vagrant PHX-199 (f4c8e11)