Browse Source

Update CloudStack post_remove function

main
Pekka Helenius 2 years ago
parent
commit
105ce627fb
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      cloudstack/cloudstack-management.install

+ 6
- 3
cloudstack/cloudstack-management.install View File

@ -31,6 +31,9 @@ post_install() {
#post_upgrade() { #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
}

Loading…
Cancel
Save