summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-02-29 15:42:31 -0500
committerDan Radez <dradez@redhat.com>2016-02-29 15:44:18 -0500
commit17c3afc75f082e9374eb1344068c792d178c0d35 (patch)
tree39f39451b8058afc3729c23cb9241b8b1361ad36 /build
parent796cb23d09f15790cf397aa30a892bfe670c648f (diff)
AMT Power Management fixes
- Teal Box uses AMT power management, this fixes the support for the AMT power Management so the Ironic AMT driver can be used. Change-Id: If7c3c89cf6063c18a97524ade387e4ae841f6c80 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/instack.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/instack.sh b/build/instack.sh
index 932de57b..b03348db 100755
--- a/build/instack.sh
+++ b/build/instack.sh
@@ -228,10 +228,14 @@ PACKAGES+=",hiera,puppet,memcached,keepalived,mariadb,mariadb-server,rabbitmq-se
PACKAGES+=",ceph-common"
# install the packages above and enabling ceph to live on the controller
+# OpenWSMan package update supports the AMT Ironic driver for the TealBox
LIBGUESTFS_BACKEND=direct virt-customize --install $PACKAGES \
--run-command "sed -i '/ControllerEnableCephStorage/c\\ ControllerEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \
--run-command "sed -i '/ \$enable_ceph = /c\\ \$enable_ceph = true' /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller_pacemaker.pp" \
--run-command "sed -i '/ \$enable_ceph = /c\\ \$enable_ceph = true' /usr/share/openstack-tripleo-heat-templates/puppet/manifests/overcloud_controller.pp" \
+ --run-command "curl http://download.opensuse.org/repositories/Openwsman/CentOS_CentOS-7/Openwsman.repo > /etc/yum.repos.d/wsman.repo" \
+ --run-command "yum update -y openwsman*" \
+ --run-command "sed -i '/pxe_wol/c\\ enabled_drivers => ['pxe_ipmitool', 'pxe_ssh', 'pxe_drac', 'pxe_ilo', 'pxe_wol', 'pxe_amt'],' /usr/share/instack-undercloud/puppet-stack-config/puppet-stack-config.pp" \
-a instack.qcow2
popd