Moved hierarchy preparation earlier in the script.
This commit is contained in:
+1
-1
@@ -781,6 +781,7 @@ LIVE_TARGET_IP="$(yq -r '.live_target.ip' ${LIVE_DATA_FILE})"
|
|||||||
LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})"
|
LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})"
|
||||||
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
|
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
|
||||||
|
|
||||||
|
hierarchy_preparation
|
||||||
setup_ssh
|
setup_ssh
|
||||||
hardware_detection
|
hardware_detection
|
||||||
|
|
||||||
@@ -791,6 +792,5 @@ until [[ -e web/signals/deployment_ready ]]; do
|
|||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
hierarchy_preparation
|
|
||||||
|
|
||||||
# --- MAIN LOGIC ---<
|
# --- MAIN LOGIC ---<
|
||||||
Reference in New Issue
Block a user