show progress bar on TTY but not in the log
This commit is contained in:
parent
94db59f374
commit
789c126fb8
@ -61,15 +61,15 @@ EOF
|
|||||||
sleep 10
|
sleep 10
|
||||||
}
|
}
|
||||||
|
|
||||||
appliance-creator \
|
script -q -c "appliance-creator \
|
||||||
--config "${KICKSTART_FILE}" \
|
--config ${KICKSTART_FILE} \
|
||||||
--name "${APPLIANCE_NAME}" \
|
--name ${APPLIANCE_NAME} \
|
||||||
--format raw \
|
--format raw \
|
||||||
--outdir "${PWD}" \
|
--outdir ${PWD} \
|
||||||
--no-compress \
|
--no-compress \
|
||||||
--debug \
|
--debug \
|
||||||
--cache /root/cache \
|
--cache /root/cache \
|
||||||
--verbose 2>&1 | tee "${APPLIANCE_NAME}.log" || exit 1
|
--verbose" | tee "${APPLIANCE_NAME}.log" || exit 1
|
||||||
|
|
||||||
if [[ -d "${APPLIANCE_NAME}" ]]; then
|
if [[ -d "${APPLIANCE_NAME}" ]]; then
|
||||||
pushd "${APPLIANCE_NAME}" || exit 1
|
pushd "${APPLIANCE_NAME}" || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user