Browse Source

añado deteccion brand bhyve

pull/1/head
pinkfeet 7 years ago
parent
commit
7cff1c3bf6
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      zonebackuptofile.sh

+ 2
- 0
zonebackuptofile.sh View File

@@ -60,6 +60,8 @@ snapshot $UUID

if [ $BRAND = "kvm" ]; then
snapshot $UUID-disk0
elif [ $BRAND = "bhyve" ]; then
snapshot $UUID-disk0
fi

/usr/sbin/zonecfg -z $UUID export > $RUTADESTINO/$UUID/$UUID.`date +%Y%m%d`.cfg


Loading…
Cancel
Save