You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by an...@apache.org on 2020/01/14 10:59:19 UTC

[cloudstack] 01/01: kvm-local-pool-trailing-slash

This is an automated email from the ASF dual-hosted git repository.

andrijapanic pushed a commit to branch kvm-local-pool-trailing-slash1
in repository https://gitbox.apache.org/repos/asf/cloudstack.git

commit 0e4667d2d433388ce070f3d0ef2b191e6c5e8082
Author: Andrija Panic <45...@users.noreply.github.com>
AuthorDate: Tue Jan 14 11:59:08 2020 +0100

    kvm-local-pool-trailing-slash
---
 .../src/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 fe84077..fa631ef 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/";