From 21f54229d6e8176f4394867996e3c0d0b0819390 Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 26 Oct 2015 21:59:46 +0900 Subject: [PATCH] Tweak order of host configuration to ensure that it happens post reformat of lxd fs --- hooks/lxd_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/lxd_hooks.py b/hooks/lxd_hooks.py index 48f2e12..29f4eaa 100755 --- a/hooks/lxd_hooks.py +++ b/hooks/lxd_hooks.py @@ -60,8 +60,8 @@ def config_changed(): e_mountpoint = config('ephemeral-unmount') if e_mountpoint and filesystem_mounted(e_mountpoint): umount(e_mountpoint) - configure_lxd_host() configure_lxd_block() + configure_lxd_host() @hooks.hook('lxd-migration-relation-joined')