diff --git a/cloudstack/cloudstack-management.install b/cloudstack/cloudstack-management.install index 332ebc3..a6840c4 100644 --- a/cloudstack/cloudstack-management.install +++ b/cloudstack/cloudstack-management.install @@ -31,6 +31,9 @@ post_install() { #post_upgrade() { #} -#post_remove() { -# rm -rf /var/lib/cloudstack/user -#} +post_remove() { + msg2 "CloudStack logs are stored at '/var/log/cloudstack'" + rm -rf /var/lib/cloudstack + userdel cloud + systemctl restart systemd-networkd +}