Ubuntu - Keepalived
Change-Id: I7e96da95eb8720e3cad0776743cab3d523674f0f Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
parent
f70e8d4598
commit
3fe9b78216
@ -4,7 +4,6 @@ TARGET="/etc/keepalived/keepalived.conf"
|
|||||||
OWNER="root"
|
OWNER="root"
|
||||||
|
|
||||||
if [[ -f "$SOURCE" ]]; then
|
if [[ -f "$SOURCE" ]]; then
|
||||||
rm $TARGET
|
|
||||||
cp $SOURCE $TARGET
|
cp $SOURCE $TARGET
|
||||||
chown ${OWNER}: $TARGET
|
chown ${OWNER}: $TARGET
|
||||||
chmod 0644 $TARGET
|
chmod 0644 $TARGET
|
||||||
|
@ -11,8 +11,10 @@ RUN yum -y install \
|
|||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||||
|
|
||||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
&& /bin/false
|
keepalived \
|
||||||
|
socat \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user