diff --git a/create-image.sh b/create-image.sh index 6750122..0a6d115 100755 --- a/create-image.sh +++ b/create-image.sh @@ -23,7 +23,8 @@ appliance-creator \ --no-compress \ --debug \ --cache /root/cache \ - --verbose 2>&1 | tee "log-${APPLIANCE_NAME}"|| exit 1 + --verbose 2>&1 | tee "${APPLIANCE_NAME}.log" || exit 1 +mv "${APPLIANCE_NAME}.log" "${APPLIANCE_NAME}/${APPLIANCE_NAME}.log" if [[ -d "${APPLIANCE_NAME}" ]]; then pushd "${APPLIANCE_NAME}" || exit 1