[PC-BSD Commits] r16290 - in pcbsd/current/src-qt4/warden: conf scripts/backend

svn at pcbsd.org svn at pcbsd.org
Mon Apr 9 08:36:35 PDT 2012


Author: kris
Date: 2012-04-09 15:36:34 +0000 (Mon, 09 Apr 2012)
New Revision: 16290

Modified:
   pcbsd/current/src-qt4/warden/conf/warden.conf
   pcbsd/current/src-qt4/warden/scripts/backend/exportjail.sh
Log:

Change tmp location so we have space enough for full exports



Modified: pcbsd/current/src-qt4/warden/conf/warden.conf
===================================================================
--- pcbsd/current/src-qt4/warden/conf/warden.conf	2012-04-09 15:26:47 UTC (rev 16289)
+++ pcbsd/current/src-qt4/warden/conf/warden.conf	2012-04-09 15:36:34 UTC (rev 16290)
@@ -6,7 +6,7 @@
 NIC: re0
 
 # Directory to use for compressing / decompressing files 
-WTMP: /tmp
+WTMP: /usr/jails
 
 # Location of the jails
 JDIR: /usr/jails

Modified: pcbsd/current/src-qt4/warden/scripts/backend/exportjail.sh
===================================================================
--- pcbsd/current/src-qt4/warden/scripts/backend/exportjail.sh	2012-04-09 15:26:47 UTC (rev 16289)
+++ pcbsd/current/src-qt4/warden/scripts/backend/exportjail.sh	2012-04-09 15:36:34 UTC (rev 16290)
@@ -45,7 +45,7 @@
 
 
 echo "Creating compressed archive of ${IP}... Please Wait..." >&1
-tar cvJf "${WTMP}/${IP}.tlz" . 2>${WTMP}/${IP}.files
+tar cvJf "${WTMP}/${IP}.tlz" -C "${JDIR}/${IP}" . 2>${WTMP}/${IP}.files
 
 cd ${WTMP}
 



More information about the Commits mailing list