...
At this point we have no LXD images.
Reconfigure
If you need to reconfigure the bridge you can by using this command.
Code Block |
---|
|
sudo dpkg-reconfigure -p medium lxd |
Basic LXD Commands
You no longer need root, but users must be added to the lxd group to run the lxc commands.
Code Block |
---|
|
sudo usermod -a -G lxd username |
To view your bridge information.
Code Block |
---|
|
lxc profile edit default |
Notice the following,
Code Block |
---|
|
name: default
config: {}
description: Default LXD profile
devices:
eth0:
nictype: bridged
parent: lxdbr0
type: nic |
....I got to check my notes, but I believe with this config, the containers will be handed IPs directly from the main network.
Warning |
---|
Tin is refining the 2nd pass of this article ... I am currently at this point. |
...
Code Block |
---|
|
lxc file push sourcefile container/path/to/directory/
lxc file pull container/path/to/file directory |
Reconfigure
If you need to reconfigure the bridge you can by using this command.
Code Block |
---|
|
sudo dpkg-reconfigure -p medium lxd |
Reference
Initializing LXD - https://insights.ubuntu.com/2016/03/16/lxd-2-0-installing-and-configuring-lxd-212/
...