diff options
author | Heikki Halmet <heikki.halmet@qt.io> | 2022-11-10 13:21:32 +0000 |
---|---|---|
committer | Heikki Halmet <heikki.halmet@qt.io> | 2022-11-24 21:18:53 +0000 |
commit | fae885e9c16d3d14a1459e9adf782896e1ad3382 (patch) | |
tree | 9b8fec799a5a6bea5868535162477074765d4bc4 /coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh | |
parent | 0a49fc9d7dee5c71c5eaaf617e9fa94d3a7d7e48 (diff) |
Provisioning: Make bootstrap autostart run without terminal
Terminal in UI might cause issues with Autotest
This patch makes bootstrap-agent run in a background shell wrapper.
The wrapper waits 20secs for the VM's network to come up and exits
with an error if it doesn't.
After that it waits for 20secs for the context image to be mounted.
If no context image is mounted after that, it waits for one minute
and makes one mounting attempt, before launching bootstrap-agent with
or without context.
Pick-to: 6.4 6.2
Task-number: COIN-966
Change-Id: I9a3e490325d1fd7c0583b6d5db5eb2023e042571
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh')
-rwxr-xr-x | coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh new file mode 100755 index 00000000..1ff43850 --- /dev/null +++ b/coin/provisioning/qtci-linux-RHEL-8.4-x86_64/90-bootstrap-autostart.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +source "${BASH_SOURCE%/*}/../common/linux/bootstrap-autostart.sh" |