From: Yolanda Robla Mota <yroblamo@redhat.com>
Date: Thu, 13 Oct 2016 07:53:59 +0000 (+0200)
Subject: Add console password to images
X-Git-Tag: 6.0.0~458
X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=0a45634668e53dfeae2d9dc4ca76366c0249bfe2;p=releng-xci.git

Add console password to images

It is useful to have a user/pass to login from console.

Change-Id: I10ca00e80c07f3506710dc3133baf8012f7856ae
Signed-Off-By: Yolanda Robla <yroblamo@redhat.com>
---

diff --git a/puppet-infracloud/hiera/common_baremetal.yaml b/puppet-infracloud/hiera/common_baremetal.yaml
index 43dff8d0..d587e4fe 100644
--- a/puppet-infracloud/hiera/common_baremetal.yaml
+++ b/puppet-infracloud/hiera/common_baremetal.yaml
@@ -168,3 +168,4 @@ neutron_subnet_gateway: '172.30.13.1'
 neutron_subnet_allocation_pools:
   - 'start=172.30.13.100,end=172.30.13.254'
 virt_type: 'kvm'
+dib_dev_user_password: devuser
diff --git a/puppet-infracloud/manifests/site.pp b/puppet-infracloud/manifests/site.pp
index f09bfe2e..8cbfef8c 100644
--- a/puppet-infracloud/manifests/site.pp
+++ b/puppet-infracloud/manifests/site.pp
@@ -96,5 +96,6 @@ node 'baremetal.opnfvlocal', 'lfpod5-jumpserver' {
     ipv4_nameserver           => hiera('ipv4_nameserver'),
     ipv4_subnet_mask          => hiera('ipv4_subnet_mask'),
     bridge_name               => hiera('bridge_name'),
+    dib_dev_user_password     => hiera('dib_dev_user_password'),
   }
 }