build: Make console log file unconditional
This was conditional for EL7 cosa, which we don't care about anymore.
@@ -216,11 +216,10 @@ mkdir -p tmp/anaconda
img_base=tmp/${imageprefix}-base.qcow2
# These options don't work for EL7 so don't pass for now
-# virt-install --console=log.file doesn't work for qemu in EL7
# 9pfs isn't an option for EL7 so copying out anaconda logs doesn't work
extraargs=
if [ -n "${ISFEDORA}" ]; then
- extraargs="${extraargs} --console-log-file ${PWD}/install.log --logs ${PWD}/tmp/anaconda"
+ extraargs="${extraargs} --logs ${PWD}/tmp/anaconda"
fi
if [ -n "${ref_is_temp}" ]; then
@@ -242,6 +241,7 @@ run_virtinstall() {
/usr/lib/coreos-assembler/virt-install --create-disk --dest=${tmpdest} \
--tmpdir "${PWD}/tmp" \
--kickstart-out "${PWD}"/tmp/flattened.ks \
+ --console-log-file ${PWD}/install.log \
--ostree-remote="${name}" --ostree-stateroot="${name}" \
--ostree-ref="${ref:-${commit}}" \
--location "${iso_location}" \
