AMT Power Management fixes 05/10905/1
authorDan Radez <dradez@redhat.com>
Mon, 29 Feb 2016 20:42:31 +0000 (15:42 -0500)
committerDan Radez <dradez@redhat.com>
Mon, 29 Feb 2016 20:44:18 +0000 (15:44 -0500)
- 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>
build/instack.sh

index 932de57..b03348d 100755 (executable)
@@ -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