====== Installation de LXD sur mon Odroid-XU3 =====
J'héberge une partie des services que j'utilise sur une [[Raspberry Pi]] 3 et une [[Odroid-XU3]].
===== Installation =====
$ sudo apt update && sudo apt upgrade
$ sudo apt install lxd lxd-client lxd-tools zfsutils-linux bridge-utils
(...)
To go through the initial LXD configuration, run: lxd init
===== Initialisation =====
$ sudo lxd init
Would you like to use LXD clustering? (yes/no) [default=no]: no
Do you want to configure a new storage pool? (yes/no) [default=yes]: yes
Name of the new storage pool [default=default]:
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
Would you like LXD to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: yes
config: {}
networks:
- config:
ipv4.address: auto
ipv6.address: auto
description: ""
managed: false
name: lxdbr0
type: ""
storage_pools:
- config: {}
description: ""
name: default
driver: dir
profiles:
- config: {}
description: ""
devices:
eth0:
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
root:
path: /
pool: default
type: disk
name: default
cluster: null
Error: Failed to create network 'lxdbr0': Failed to list ipv4 rules for lxdbr0 (table mangle)
Ça plante... Je n'ai pas encore trouvé pourquoi.