QNX: Use hostname set in qemu image build files

Hostname is already set in options file, lets use that instead of
setting it again manually.

Task-number: QTBUG-99168
Change-Id: I31c42a597ff45a94a2e36aa6f5002d171ad448ee
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
(cherry picked from commit ff97c8164253a882037836ae4381f6e669d3fce5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Pasi Petäjäjärvi 2021-12-08 15:06:55 +02:00 committed by Qt Cherry-pick Bot
parent ea8dec398e
commit 96b31b6a58

View File

@ -10,7 +10,7 @@ instructions:
COUNT=0
QEMUPID=0
QEMUIPADDR="{{.Env.QNX_QEMU_IPADDR}}"
mkqnximage --type=qemu --hostname=QNX_QEMU_CI --graphics=no --ip=${QEMUIPADDR} --build --run=-h </dev/null &>/dev/null & disown
mkqnximage --type=qemu --graphics=no --ip=${QEMUIPADDR} --build --run=-h </dev/null &>/dev/null & disown
while [[ "QEMUPID" -eq 0 ]]
do