apk build
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
opennebula-alpine/opennebula-node-kvm/opennebula-common.post-dein...

14 lines
308 B

#!/bin/sh
set -e
ONE_GROUP=cloud
ONE_USER=oneadmin
userdel -r ${ONE_USER} 2>/dev/null && echo ">> User '${ONE_USER}' has been removed."
groupdel ${ONE_GROUP} 2>/dev/null && echo ">> Group '${ONE_GROUP}' has been removed."
rm -rf /var/lib/one /var/run/one /var/log/one /var/lock/one 2>/dev/null
exit 0