diff options
-rwxr-xr-x | ezjail-admin | 4 |
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}" |