Update the logic to wait for the hardware detection data.
This commit is contained in:
+10
-2
@@ -772,16 +772,24 @@ echo """
|
||||
"""
|
||||
|
||||
launch_gui
|
||||
hierarchy_preparation
|
||||
until [[ -e web/signals/hw_detection_ready ]]; do
|
||||
|
||||
until [[ -e "${LIVE_DATA_FILE}" ]]; do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
LIVE_TARGET_IP="$(yq -r '.live_target.ip' ${LIVE_DATA_FILE})"
|
||||
LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})"
|
||||
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
|
||||
|
||||
hardware_detection
|
||||
|
||||
until [[ -e web/signals/configuration_ready ]]; do
|
||||
sleep 5
|
||||
done
|
||||
until [[ -e web/signals/deployment_ready ]]; do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
hierarchy_preparation
|
||||
|
||||
# --- MAIN LOGIC ---<
|
||||
Reference in New Issue
Block a user