diff --git a/create-image.sh b/create-image.sh index e3d3eb6..401ba1b 100755 --- a/create-image.sh +++ b/create-image.sh @@ -70,6 +70,8 @@ script -q -c "appliance-creator \ --debug \ --cache /root/cache \ --verbose" | tee "${APPLIANCE_NAME}.log" || exit 1 +# the script command creates a file called typescript +rm -vf typescript if [[ -d "${APPLIANCE_NAME}" ]]; then pushd "${APPLIANCE_NAME}" || exit 1