From a626c9fc0728ca66816ed9babb56b73698f1a2d7 Mon Sep 17 00:00:00 2001
From: Frederick Borges <fborges@opennebula.io>
Date: Mon, 21 Jun 2021 13:28:13 +0200
Subject: [PATCH] B #5432: fix create image error when using vcenter view
 (#1322)

---
 src/sunstone/etc/sunstone-views/vcenter/admin.yaml      | 3 +++
 src/sunstone/etc/sunstone-views/vcenter/groupadmin.yaml | 3 +++
 src/sunstone/etc/sunstone-views/vcenter/user.yaml       | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/src/sunstone/etc/sunstone-views/vcenter/admin.yaml b/src/sunstone/etc/sunstone-views/vcenter/admin.yaml
index ea731bc2b2..ca4dc0b3df 100644
--- a/src/sunstone/etc/sunstone-views/vcenter/admin.yaml
+++ b/src/sunstone/etc/sunstone-views/vcenter/admin.yaml
@@ -640,6 +640,9 @@ tabs:
             image_info_tab: true
             image_vms_tab: true
             image_snapshots_tab: false
+        template_creation_tabs:
+            image: true
+            docker: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
diff --git a/src/sunstone/etc/sunstone-views/vcenter/groupadmin.yaml b/src/sunstone/etc/sunstone-views/vcenter/groupadmin.yaml
index 61bd49bf75..8616abd8ce 100644
--- a/src/sunstone/etc/sunstone-views/vcenter/groupadmin.yaml
+++ b/src/sunstone/etc/sunstone-views/vcenter/groupadmin.yaml
@@ -641,6 +641,9 @@ tabs:
             image_info_tab: true
             image_vms_tab: true
             image_snapshots_tab: true
+        template_creation_tabs:
+            image: true
+            docker: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID
diff --git a/src/sunstone/etc/sunstone-views/vcenter/user.yaml b/src/sunstone/etc/sunstone-views/vcenter/user.yaml
index 7eb7339e9a..2917fc0419 100644
--- a/src/sunstone/etc/sunstone-views/vcenter/user.yaml
+++ b/src/sunstone/etc/sunstone-views/vcenter/user.yaml
@@ -634,6 +634,9 @@ tabs:
             image_info_tab: true
             image_vms_tab: true
             image_snapshots_tab: true
+        template_creation_tabs:
+            image: true
+            docker: true
         table_columns:
             - 0         # Checkbox
             - 1         # ID