Remove the unnecessary "if" condition
TrivialFix Change-Id: Ib7f07b88055594e594604ed2c4471058719cba56
This commit is contained in:
parent
277f6c058b
commit
5c6cddbcf6
@ -5,23 +5,12 @@ MAINTAINER {{ maintainer }}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||
|
||||
{% set kubetoolbox_packages = [
|
||||
'jq',
|
||||
'ceph-common',
|
||||
'ipmitool'
|
||||
] %}
|
||||
|
||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||
|
||||
{% set kubetoolbox_packages = [
|
||||
'jq',
|
||||
'ceph-common',
|
||||
'ipmitool'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}
|
||||
|
||||
RUN curl -o /usr/bin/kubectl http://storage.googleapis.com/kubernetes-release/release/v1.4.0/bin/linux/amd64/kubectl \
|
||||
|
Loading…
Reference in New Issue
Block a user