Use package-installs for undercloud elements

Ideally all elements would be using package-installs so we only
call yum once per stage, but since a lot of these elements are no
longer used this change focuses on just the elements doing one-off
package installs that I found in the undercloud install logs.

A follow-up change would be to do the same kind of audit for the
overcloud image build and fix up all of those elements.

Change-Id: Ie204c5d0aa0f48d3d93d834b51a644d8562cd2fd
This commit is contained in:
Ben Nemec 2016-03-11 10:43:23 -06:00
parent 638a863db8
commit b19fbc3dd5
5 changed files with 7 additions and 8 deletions

View File

@ -1,6 +0,0 @@
#!/bin/bash
set -eux
set -o pipefail
# ensure we have tftp and pxe requirements
install-packages syslinux tftpd-hpa xinetd parted psmisc

View File

@ -0,0 +1,5 @@
syslinux:
tftpd-hpa:
xinetd:
parted:
psmisc:

View File

@ -1 +1,2 @@
os-svc-install
package-installs

View File

@ -1,8 +1,6 @@
#!/bin/bash
set -eux
install-packages -m openvswitch openvswitch-switch_package
if [ "$DIB_INIT_SYSTEM" == "systemd" ] ; then
os-svc-enable -n openvswitch-switch
fi

View File

@ -0,0 +1 @@
openvswitch-switch_package: