From 08466ba5d5ae46ad630e6d3a3d02f3591a5eeaaf Mon Sep 17 00:00:00 2001
From: ktibi <kodokuu@gmail.com>
Date: Fri, 13 Oct 2017 10:31:55 +0200
Subject: [PATCH] Change name of element for diskimage-builder

Error when try to initiate image build ==>
/bifrost-base-source/bifrost-base-archive-stackhpc-pike/playbooks/roles/bifrost-create-dib-image/tasks/main.yml:121
 diskimage_builder.element_dependencies.MissingElementException: Element 'serial-console' not found
 diskimage-builder version 2.9.1

Check on https://docs.openstack.org/diskimage-builder/latest/elements/enable-serial-console/README.html

serial-console => enable-serial-console
---
 ansible/group_vars/all/bifrost | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/group_vars/all/bifrost b/ansible/group_vars/all/bifrost
index 2bc4ba529..0b456dda5 100644
--- a/ansible/group_vars/all/bifrost
+++ b/ansible/group_vars/all/bifrost
@@ -22,7 +22,7 @@ kolla_bifrost_dib_os_release: "GenericCloud"
 # List of DIB elements.
 kolla_bifrost_dib_elements:
   - "disable-selinux"
-  - "serial-console"
+  - "enable-serial-console"
   - "vm"
 
 # DIB init element.