From b3eacaffe99f9f88265aef8a1d5edec23914dece Mon Sep 17 00:00:00 2001 From: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com> Date: Fri, 21 Aug 2020 10:30:14 +0200 Subject: [PATCH] Update cloudstack-usage.postinst --- debian/cloudstack-usage.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/cloudstack-usage.postinst b/debian/cloudstack-usage.postinst index e51a305dcc3..fc4a46b4eb7 100755 --- a/debian/cloudstack-usage.postinst +++ b/debian/cloudstack-usage.postinst @@ -24,6 +24,7 @@ case "$1" in # Linking usage server db.properties to management server db.properties if [ -f "/etc/cloudstack/management/db.properties" ]; then + echo Replacing usage server's db.properties with a link to the management server's db.properties rm -f /etc/cloudstack/usage/db.properties ln -s /etc/cloudstack/management/db.properties /etc/cloudstack/usage/db.properties fi @@ -35,6 +36,7 @@ case "$1" in # Replacing key with management server key if [ -f "/etc/cloudstack/management/key" ]; then + echo Replacing usage server's key with a link to the management server's key rm -f /etc/cloudstack/usage/key ln -s /etc/cloudstack/management/key /etc/cloudstack/usage/key fi