From fda649c204caea947b9a4be38b82f3819d93bcde Mon Sep 17 00:00:00 2001
From: handreas <andreas.hamacher@monash.edu>
Date: Mon, 6 Apr 2020 11:10:12 +0000
Subject: [PATCH] bugfixes

---
 CICD/heat/gc_HOT.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/CICD/heat/gc_HOT.yaml b/CICD/heat/gc_HOT.yaml
index 5b7da482..861e5dc0 100644
--- a/CICD/heat/gc_HOT.yaml
+++ b/CICD/heat/gc_HOT.yaml
@@ -232,7 +232,7 @@ resources:
     security_groups: [ default, { get_resource: SSHMonashSecGroup }, { get_resource: SlurmSecGroup }, { get_resource: MySQLSecGroup }, { get_resource: NFSSecGroup } ]
     metadata:
      ansible_host_groups: [ SQLNodes, NFSNodes ]
-     ansible_ssh_user: ubuntu
+     ansible_ssh_user: ec2-user
      project_name: { get_param: project_name }
     networks:
       - network: { get_param: NetID }
@@ -308,7 +308,7 @@ resources:
   LoginNodesC:
    type: "OS::Heat::ResourceGroup"
    properties:
-    count: 0
+    count: 1
     resource_def:
      type: "OS::Nova::Server"
      properties:
@@ -443,7 +443,7 @@ resources:
       image: { get_param: centos_7_image_id }
       key_name: { get_param: ssh_key }
       name:
-       list_join: [ '-', [ { get_param: "OS::stack_name" }, 'gpudesktopu%index%' ]]
+       list_join: [ '-', [ { get_param: "OS::stack_name" }, 'gpudesktopc%index%' ]]
       security_groups: [ default, { get_resource: SSHMonashSecGroup }, { get_resource: SlurmSecGroup }, { get_resource: NFSSecGroup } ]
       metadata:
        ansible_host_groups: [ DesktopNodes, GPU, ComputeNodes, K1, VisNodes ]
-- 
GitLab