summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2008-07-07 23:17:28 +0000
committererdgeist <erdgeist@erdgeist.org>2008-07-07 23:17:28 +0000
commite8d0bdf71454deb19140633707c4a2e9465920b1 (patch)
treeea6b0e4c9b1ab7f72ebe4d50559f914bcf850092
parentcd753c0f87be449728bf15bf347fa6615f6d55f9 (diff)
Typo in imported image size
-rwxr-xr-xezjail-admin4
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 7df911d..8744417 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -961,7 +961,7 @@ restore)
961 961
962 # Figure out, what jail and jail enviroment archive claims to contain 962 # Figure out, what jail and jail enviroment archive claims to contain
963 TIFS=${IFS}; IFS=-; set - ${ezjail_nameprop} 963 TIFS=${IFS}; IFS=-; set - ${ezjail_nameprop}
964 ezjail_nameprop_safename=$2 ezjail_nameprop_hsname=$4 ezjail_nameprop_hsversion=$5 ezjail_nameprop_hscpu=$6 ezjail_nameporp_imgagesize=$7 964 ezjail_nameprop_safename=$2 ezjail_nameprop_hsname=$4 ezjail_nameprop_hsversion=$5 ezjail_nameprop_hscpu=$6 ezjail_nameprop_imgagesize=$7
965 IFS=${TIFS} 965 IFS=${TIFS}
966 966
967 # Figure out current system environment 967 # Figure out current system environment
@@ -982,7 +982,7 @@ restore)
982 982
983 # Now all parameters are here, invoke ezjail-admin create 983 # Now all parameters are here, invoke ezjail-admin create
984 if [ "${ezjail_imagetype}" ]; then 984 if [ "${ezjail_imagetype}" ]; then
985 ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameporp_imgagesize}" 985 ezjail_imagedata="-c ${ezjail_imagetype} -C '${ezjail_attachparams}' -s ${ezjail_nameprop_imgagesize}"
986 fi 986 fi
987 987
988 echo $0 create -a "${ezjail_fromarchive}" -A "${ezjail_config}" ${ezjail_imagedata} -r "${ezjail_rootdir}" "${ezjail_hostname}" "${ezjail_ip}" 988 echo $0 create -a "${ezjail_fromarchive}" -A "${ezjail_config}" ${ezjail_imagedata} -r "${ezjail_rootdir}" "${ezjail_hostname}" "${ezjail_ip}"