remove the --cache option and do not log to files, only to the console
This commit is contained in:
parent
1bbad180be
commit
8b9b6dc90a
@ -22,22 +22,23 @@ if ! command -v shasum > /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
{
|
||||
appliance-creator \
|
||||
appliance-creator \
|
||||
--config "${KICKSTARTER_FILENAME}" \
|
||||
--name "${APPLIANCE_NAME}" \
|
||||
--format raw \
|
||||
--no-compress \
|
||||
--outdir "${PWD}" \
|
||||
--cache "/root/cache" \
|
||||
--debug \
|
||||
--verbose
|
||||
# DO NOT USE THE '--checksum' OPTION BECAUSE, FOR SOME REASON
|
||||
# UTF8 ERRORS ARE GENERATED DURING IMAGE CREATION
|
||||
# AND THE IMAGE CREATION STEP FAILS
|
||||
#--checksum \
|
||||
# DO NOT USE THE '--cache' OPTION SINCE IT USES OLDER VERSIONS
|
||||
# OF PACKAGES, WHICH IS THE WORST WHEN TESTING CHANGES:w
|
||||
#--cache "/root/cache" \
|
||||
|
||||
if [[ -d "${APPLIANCE_NAME}" ]]; then
|
||||
if [[ -d "${APPLIANCE_NAME}" ]]; then
|
||||
|
||||
pushd "${APPLIANCE_NAME}" || exit 1
|
||||
mv -v -f "${APPLIANCE_NAME}-sda.raw" "${IMAGE_NAME}"
|
||||
@ -51,5 +52,4 @@ fi
|
||||
|
||||
echo 'DONE'
|
||||
echo "Please chown '${APPLIANCE_NAME}/' if necessary"
|
||||
fi
|
||||
} 1> "${APPLIANCE_NAME}.1.stdout.log" 2> "${APPLIANCE_NAME}.2.stderr.log"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user