From 3cd613e775d81f0669e1bd7815f7ec31047a97a1 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Wed, 7 Sep 2022 16:40:16 -0500
Subject: [PATCH] Remove CRI_XCBC from compute node build template

---
 openstack/nodeimage.pkr.hcl | 7 -------
 openstack/variables.pkr.hcl | 2 +-
 2 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/openstack/nodeimage.pkr.hcl b/openstack/nodeimage.pkr.hcl
index 269f821..0224701 100644
--- a/openstack/nodeimage.pkr.hcl
+++ b/openstack/nodeimage.pkr.hcl
@@ -29,11 +29,4 @@ build {
       "--extra-vars", "root_ssh_key='${var.root_ssh_key}'"
     ]
   }
-  provisioner "ansible" {
-    use_proxy =  false
-    ansible_env_vars = ["ANSIBLE_HOST_KEY_CHECKING=False"]
-    playbook_file = "../ood-packer.yaml"
-    roles_path = "./ansible/roles"
-    inventory_file = "../hosts"
-  }
 }
diff --git a/openstack/variables.pkr.hcl b/openstack/variables.pkr.hcl
index 5082805..0982719 100644
--- a/openstack/variables.pkr.hcl
+++ b/openstack/variables.pkr.hcl
@@ -67,7 +67,7 @@ variable "security_groups" {
 
 variable "build_instance_name" {
   type = string
-  default = "ood"
+  default = "compute"
   description = "A name of build instance used for image build"
 }
 
-- 
GitLab