lib.sh: Remove all storage on undefine 39/41339/7
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 7 Sep 2017 19:55:16 +0000 (21:55 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 7 Sep 2017 22:29:30 +0000 (00:29 +0200)
commit3e45721b819ec16e8cf164a42725bc1d30614581
treeaf425401ba753becba5c164fe80e4fc38db1e369
parentac7bb381c5376c28b0eeac880af90b50a2801f38
lib.sh: Remove all storage on undefine

While executing the deploy script via sudo will raise no issues with
re-using old storage volume files, non-root deploys fail to change
ownership of said files.

Properly clean after ourselves when destroying and undefining VMs.

JIRA: ARMBAND-311

Change-Id: I7fdd269dccbfd5ab5285d852ac7dacfc4dc5ccd7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/scripts/lib.sh