diff options
author | Bill Pijewski <wdp@joyent.com> | 2011-10-18 17:06:34 -0700 |
---|---|---|
committer | Bill Pijewski <wdp@joyent.com> | 2011-10-18 17:06:34 -0700 |
commit | 298a613387cd918925080b91815eb928fdea24ad (patch) | |
tree | 1e5be44d897893a0f4445db426a4e5425aae3889 /usr/src | |
parent | 78544996c790165ef940088b9252270f5f96e59b (diff) | |
download | illumos-joyent-298a613387cd918925080b91815eb928fdea24ad.tar.gz |
OS-612 Kvm uninstall scripts need zfs destroy -F too
Diffstat (limited to 'usr/src')
-rwxr-xr-x | usr/src/lib/brand/kvm/zone/kuninstall.ksh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/brand/kvm/zone/kuninstall.ksh b/usr/src/lib/brand/kvm/zone/kuninstall.ksh index 7524e20fbc..a6af44872b 100755 --- a/usr/src/lib/brand/kvm/zone/kuninstall.ksh +++ b/usr/src/lib/brand/kvm/zone/kuninstall.ksh @@ -60,9 +60,9 @@ fi ORIGIN=`zfs get -H -ovalue origin $PDS_NAME/$bname` -zfs destroy -r $PDS_NAME/$bname/cores -zfs destroy -r $PDS_NAME/$bname -[ "$ORIGIN" != "-" ] && zfs destroy $ORIGIN +zfs destroy -rF $PDS_NAME/$bname/cores +zfs destroy -rF $PDS_NAME/$bname +[ "$ORIGIN" != "-" ] && zfs destroy -F $ORIGIN rm -rf $ZONEPATH |