Tweak order of host configuration to ensure that it happens post reformat of lxd fs

This commit is contained in:
James Page 2015-10-26 21:59:46 +09:00
parent 7f71b9ab13
commit 21f54229d6

View File

@ -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')