remove the --cache option and do not log to files, only to the console
This commit is contained in:
parent
1bbad180be
commit
8b9b6dc90a
@ -22,20 +22,21 @@ if ! command -v shasum > /dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{
|
|
||||||
appliance-creator \
|
appliance-creator \
|
||||||
--config "${KICKSTARTER_FILENAME}" \
|
--config "${KICKSTARTER_FILENAME}" \
|
||||||
--name "${APPLIANCE_NAME}" \
|
--name "${APPLIANCE_NAME}" \
|
||||||
--format raw \
|
--format raw \
|
||||||
--no-compress \
|
--no-compress \
|
||||||
--outdir "${PWD}" \
|
--outdir "${PWD}" \
|
||||||
--cache "/root/cache" \
|
|
||||||
--debug \
|
--debug \
|
||||||
--verbose
|
--verbose
|
||||||
# DO NOT USE THE '--checksum' OPTION BECAUSE, FOR SOME REASON
|
# DO NOT USE THE '--checksum' OPTION BECAUSE, FOR SOME REASON
|
||||||
# UTF8 ERRORS ARE GENERATED DURING IMAGE CREATION
|
# UTF8 ERRORS ARE GENERATED DURING IMAGE CREATION
|
||||||
# AND THE IMAGE CREATION STEP FAILS
|
# AND THE IMAGE CREATION STEP FAILS
|
||||||
#--checksum \
|
#--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
|
||||||
|
|
||||||
@ -52,4 +53,3 @@ fi
|
|||||||
echo 'DONE'
|
echo 'DONE'
|
||||||
echo "Please chown '${APPLIANCE_NAME}/' if necessary"
|
echo "Please chown '${APPLIANCE_NAME}/' if necessary"
|
||||||
fi
|
fi
|
||||||
} 1> "${APPLIANCE_NAME}.1.stdout.log" 2> "${APPLIANCE_NAME}.2.stderr.log"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user