Permalink
Browse files

Fix a bug in Warden creating templates on non-/ mounted datasets

  • Loading branch information...
1 parent 7afe644 commit 7026ca11b7dd944cdc341a87bb09a83ef5f0a8ed @kmoore134 kmoore134 committed Aug 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-sh/warden/scripts/backend/createtemplate.sh
@@ -87,7 +87,7 @@ create_template()
isDirZFS "${TDIR}" "1"
if [ $? -ne 0 ] ; then
echo "Creating ZFS ${TDIR} dataset..."
- zfs create -o mountpoint=/${zfsp} -p ${tank}${zfsp}
+ zfs create -o mountpoint=${TDIR} -p ${tank}${zfsp}
if [ $? -ne 0 ] ; then exit_err "Failed creating ZFS base dataset"; fi
fi

0 comments on commit 7026ca1

Please sign in to comment.