summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 5840be8..d3cc9c7 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1267,7 +1267,7 @@ config)
1267 fi 1267 fi
1268 1268
1269 # rename the filesystem, remounting is done by ZFS 1269 # rename the filesystem, remounting is done by ZFS
1270 [ "${ezjail_imagetype}" = "zfs" ] && zfs rename ${ezjail_jailzfs}/${ezjail_old_hostname} ${ezjail_jailzfs}/${ezjail_hostname} 1270 [ "${ezjail_imagetype}" = "zfs" ] && /sbin/zfs rename ${ezjail_jailzfs}/${ezjail_old_hostname} ${ezjail_jailzfs}/${ezjail_hostname} && /sbin/zfs set mountpoint=${ezjail_rootdir} ${ezjail_jailzfs}/${ezjail_hostname} && rmdir ${ezjail_old_rootdir}
1271 1271
1272 # rename fstab 1272 # rename fstab
1273 rm -f "/etc/fstab.${ezjail_old_safename}" 1273 rm -f "/etc/fstab.${ezjail_old_safename}"