Tweak order of host configuration to ensure that it happens post reformat of lxd fs
This commit is contained in:
parent
7f71b9ab13
commit
21f54229d6
@ -60,8 +60,8 @@ def config_changed():
|
|||||||
e_mountpoint = config('ephemeral-unmount')
|
e_mountpoint = config('ephemeral-unmount')
|
||||||
if e_mountpoint and filesystem_mounted(e_mountpoint):
|
if e_mountpoint and filesystem_mounted(e_mountpoint):
|
||||||
umount(e_mountpoint)
|
umount(e_mountpoint)
|
||||||
configure_lxd_host()
|
|
||||||
configure_lxd_block()
|
configure_lxd_block()
|
||||||
|
configure_lxd_host()
|
||||||
|
|
||||||
|
|
||||||
@hooks.hook('lxd-migration-relation-joined')
|
@hooks.hook('lxd-migration-relation-joined')
|
||||||
|
Loading…
Reference in New Issue
Block a user