Make possible to install ironic-discoverd from RPM
This commit is contained in:
parent
1f41d940dc
commit
070334c424
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
|
||||
# FIXME(dtantsur): temporary until update hits Juno RDO
|
||||
rpm -q openstack-ironic-discoverd || yum -y install https://kojipkgs.fedoraproject.org//packages/openstack-ironic-discoverd/0.2.1/1.fc22/noarch/openstack-ironic-discoverd-0.2.1-1.fc22.noarch.rpm
|
||||
# install-packages openstack-ironic-discoverd
|
||||
install -d -m 0755 -o ironic -g ironic /tftpboot/pxelinux.cfg
|
@ -40,3 +40,4 @@ export DIB_INSTALLTYPE_tripleo_heat_templates=${DIB_INSTALLTYPE_tripleo_heat_tem
|
||||
# Miscellaneous
|
||||
export DIB_INSTALLTYPE_get_pip_py=${DIB_INSTALLTYPE_get_pip_py:-package}
|
||||
export DIB_INSTALLTYPE_novnc=${DIB_INSTALLTYPE_novnc:-package}
|
||||
export DIB_INSTALLTYPE_ironic_discoverd=${DIB_INSTALLTYPE_ironic_discoverd:-package}
|
||||
|
@ -203,6 +203,8 @@ sudo yum install -y policycoreutils-python
|
||||
# ensure latest policy
|
||||
sudo yum install -y selinux-policy
|
||||
|
||||
export DIB_INSTALLTYPE_ironic_discoverd=source
|
||||
|
||||
if [ "$RUN_INSTACK" -eq 0 ]; then
|
||||
echo "Exiting without running instack."
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user