diff options
author | Paride Legovini <paride.legovini@canonical.com> | 2020-08-27 17:20:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 11:20:35 -0400 |
commit | 1f3a225af78dbfbff75c3faad28a5dc8cad0d1e3 (patch) | |
tree | 745122ff254494ef9cf38411e3aee3ad23800000 /tests/unittests/test_runs | |
parent | 575750ac4a3abb6fdfa45e2cc65186df291d8ddf (diff) | |
download | vyos-cloud-init-1f3a225af78dbfbff75c3faad28a5dc8cad0d1e3.tar.gz vyos-cloud-init-1f3a225af78dbfbff75c3faad28a5dc8cad0d1e3.zip |
LXD: detach network from profile before deleting it (#542)
* LXD: detach network from profile before deleting it
When cleaning up the bridge network created by default by LXD as part
of the `lxd init` process detach the network its profile before deleting
it. LXD will otherwise refuse to delete it with error:
Error: The network is currently in use.
Discussion with LXD upstream: https://github.com/lxc/lxd/issues/7804.
LP: #1776958
* LXD bridge deletion: fail if bridge exists but can't be deleted
* LXD bridge deletion: remove useless failure logging
Diffstat (limited to 'tests/unittests/test_runs')
0 files changed, 0 insertions, 0 deletions