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"
|
||||
|
||||
if [[ -f "$SOURCE" ]]; then
|
||||
rm $TARGET
|
||||
cp $SOURCE $TARGET
|
||||
chown ${OWNER}: $TARGET
|
||||
chmod 0644 $TARGET
|
||||
|
@ -11,8 +11,10 @@ RUN yum -y install \
|
||||
|
||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
&& /bin/false
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
keepalived \
|
||||
socat \
|
||||
&& apt-get clean
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user