From 0095272a389c481c663fec8e653f740a57830af2 Mon Sep 17 00:00:00 2001 From: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com> Date: Tue, 28 Jan 2020 06:48:27 +0100 Subject: [PATCH] upgrade: kvm-local-pool-trailing-slash (#3813) Stop asking user (in the upgrade documentation) to remove a trailing slash for local KVM pool - do it here in upgrade path - so not needed in DOC for the upgrade to 4.14 and onwards. --- .../main/resources/META-INF/db/schema-41300to41400-cleanup.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql index fe84077f72b..fa631ef50fa 100644 --- a/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql +++ b/engine/schema/src/main/resources/META-INF/db/schema-41300to41400-cleanup.sql @@ -20,3 +20,6 @@ --; DELETE FROM `cloud`.`configuration` WHERE name = 'host.maintenance.retries'; + +-- Stop asking user (in the upgraded documentation) to remove a trailing slash for local KVM pool +UPDATE `cloud`.`storage_pool` SET path="/var/lib/libvirt/images" WHERE path="/var/lib/libvirt/images/";