#!/bin/bash
UUID=$(mdata-get sdc:uuid)
DDS=zones/${UUID}/data

if zfs list ${DDS} 1>/dev/null 2>&1; then
	zfs create ${DDS}/db || true

	zfs set mountpoint=/var/db ${DDS}/db
fi

Create delegate dataset for /var/db database files
Create delegate dataset for /var/db database files
