From dda7b3fe32e1b6fc3d698c1a8801ac413e50b563 Mon Sep 17 00:00:00 2001
From: Krish Moodbidri <krish94@uab.edu>
Date: Fri, 23 Feb 2024 13:14:33 -0600
Subject: [PATCH] Add repository cloning commands to user data script

---
 ohpc-instance/main.tf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ohpc-instance/main.tf b/ohpc-instance/main.tf
index f968629..4d1668c 100644
--- a/ohpc-instance/main.tf
+++ b/ohpc-instance/main.tf
@@ -43,6 +43,12 @@ resource "openstack_compute_instance_v2" "ohpc" {
        owner: centos:centos
        path: /etc/hosts
        permissions: 0644
+
+    # Clone CRI_XCBC repository
+    - git clone https://github.com/jprorama/CRI_XCBC.git /CRI_XCBC
+
+    # Clone CRI_Cluster_Monitor repository
+    - git clone https://github.com/eesaanatluri/CRI_Cluster_Monitor.git /CRI_Cluster_Monitor
      EOF
 
 # defines the networks of the instance
-- 
GitLab