From c07d559f81c841c220da5fd6cb9579d037726232 Mon Sep 17 00:00:00 2001
From: Jeffrey Mathiowetz <jeffrey.t.mathiowetz.ctr@mail.mil>
Date: Fri, 21 Mar 2025 14:30:03 -0400
Subject: [PATCH] add float-ip pull for PCTE

---
 ops_stations/ops_from_code.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ops_stations/ops_from_code.yaml b/ops_stations/ops_from_code.yaml
index f6481d4..5866693 100644
--- a/ops_stations/ops_from_code.yaml
+++ b/ops_stations/ops_from_code.yaml
@@ -388,6 +388,9 @@ resources:
             systemctl stop spice-vdagent
             systemctl disable spice-vdagent
 
+            # Pull the Float-IP from Gateway to save to student home
+            curl -o /home/student/float-ip.txt http://192.168.65.30/metadata/float-ip
+
             reboot
 
           params:
-- 
GitLab