Install haveged on nodepool diskimages
With centos we need to manually enabled epel to only install haveged, this is why we cannot use package-installs. Change-Id: I3dff1c1e136eada97d957cf7af8d80e13b651545 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
3805a00da8
commit
cfcb690b0d
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
# implied.
|
||||
#
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# dib-lint: disable=setu setpipefail
|
||||
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
||||
set -x
|
||||
fi
|
||||
set -e
|
||||
|
||||
if [ "$DISTRO_NAME" == "centos" ]; then
|
||||
yum -y install --enablerepo=epel haveged
|
||||
fi
|
|
@ -21,3 +21,4 @@ puppet:
|
|||
wget:
|
||||
iputils-ping:
|
||||
dnsutils:
|
||||
haveged:
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"distro": {
|
||||
"fedora": {
|
||||
"python3-dev": "python3-devel"
|
||||
"python3-dev": "python3-devel",
|
||||
"haveged": "haveged"
|
||||
},
|
||||
"gentoo": {
|
||||
"build-essential": "",
|
||||
|
@ -22,7 +23,8 @@
|
|||
"ntp": "ntp ntp-perl",
|
||||
"python-dev": "python-devel",
|
||||
"python3-dev": "",
|
||||
"uuid-runtime": ""
|
||||
"uuid-runtime": "",
|
||||
"haveged": ""
|
||||
},
|
||||
"suse": {
|
||||
"dnsutils": "bind-utils",
|
||||
|
|
Loading…
Reference in New Issue