sudo usermod -a -G lxd `whoami`
cat ${OSM_DEVOPS}/installers/lxd-preseed.conf | sed 's/^config: {}/config:\n core.https_address: '$OSM_DEFAULT_IP':8443/' | sg lxd -c "lxd init --preseed"
sg lxd -c "lxd waitready"
- sg lxd -c "lxc profile device set default eth0 mtu $DEFAULT_MTU"
- sg lxd -c "lxc network set lxdbr0 bridge.mtu $DEFAULT_MTU"
- # sudo systemctl stop lxd-bridge
- # sudo systemctl --system daemon-reload
- # sudo systemctl enable lxd-bridge
- # sudo systemctl start lxd-bridge
# Configure LXD to work behind a proxy
if [ -n "${OSM_BEHIND_PROXY}" ] ; then