move the log inside the appliance dir
This commit is contained in:
parent
d1ad2f68eb
commit
ae3ff359cc
@ -23,7 +23,8 @@ appliance-creator \
|
|||||||
--no-compress \
|
--no-compress \
|
||||||
--debug \
|
--debug \
|
||||||
--cache /root/cache \
|
--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
|
if [[ -d "${APPLIANCE_NAME}" ]]; then
|
||||||
pushd "${APPLIANCE_NAME}" || exit 1
|
pushd "${APPLIANCE_NAME}" || exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user