Add ceph-nfs container
Change-Id: I06325d4601128a0b5a2235370fa44012427c29e3 Implements: blueprint ceph-nfs-container
This commit is contained in:
parent
dbbd4ef059
commit
d69cc8e88b
@ -66,6 +66,7 @@ COPY yum.conf /etc/yum.conf
|
|||||||
'influxdb.repo',
|
'influxdb.repo',
|
||||||
'kibana.yum.repo',
|
'kibana.yum.repo',
|
||||||
'MariaDB.repo',
|
'MariaDB.repo',
|
||||||
|
'nfs_ganesha.repo',
|
||||||
'opendaylight.repo',
|
'opendaylight.repo',
|
||||||
'sensu.repo',
|
'sensu.repo',
|
||||||
'td.repo',
|
'td.repo',
|
||||||
|
5
docker/base/nfs_ganesha.repo
Normal file
5
docker/base/nfs_ganesha.repo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[nfs_ganesha]
|
||||||
|
baseurl = http://download.ceph.com/nfs-ganesha/rpm-V2.5-stable/luminous/$basearch
|
||||||
|
gpgcheck = 1
|
||||||
|
gpgkey = https://download.ceph.com/keys/release.asc
|
||||||
|
name = nfs-ganesha stable repo
|
@ -33,6 +33,9 @@ deb https://repos.influxdata.com/ubuntu xenial stable
|
|||||||
# Grafana repo
|
# Grafana repo
|
||||||
deb https://packagecloud.io/grafana/stable/debian/ jessie main
|
deb https://packagecloud.io/grafana/stable/debian/ jessie main
|
||||||
|
|
||||||
|
# Nfs-ganesha repo
|
||||||
|
deb http://download.ceph.com/nfs-ganesha/deb-V2.5-stable/luminous xenial main
|
||||||
|
|
||||||
# Fluentd repo
|
# Fluentd repo
|
||||||
deb http://packages.treasuredata.com/2/ubuntu/xenial/ xenial contrib
|
deb http://packages.treasuredata.com/2/ubuntu/xenial/ xenial contrib
|
||||||
|
|
||||||
|
30
docker/ceph/ceph-nfs/Dockerfile.j2
Normal file
30
docker/ceph/ceph-nfs/Dockerfile.j2
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
FROM {{ namespace }}/{{ image_prefix }}ceph-base:{{ tag }}
|
||||||
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||||
|
|
||||||
|
{% block ceph_nfs_header %}{% endblock %}
|
||||||
|
|
||||||
|
{% import "macros.j2" as macros with context %}
|
||||||
|
|
||||||
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
|
{% set ceph_nfs_packages = [
|
||||||
|
'nfs-ganesha',
|
||||||
|
'nfs-ganesha-ceph',
|
||||||
|
'nfs-ganesha-rgw'
|
||||||
|
] %}
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
{% set ceph_nfs_packages = [
|
||||||
|
'nfs-ganesha',
|
||||||
|
'nfs-ganesha-ceph',
|
||||||
|
'nfs-ganesha-rgw'
|
||||||
|
] %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{{ macros.install_packages(ceph_nfs_packages | customizable("packages")) }}
|
||||||
|
|
||||||
|
|
||||||
|
{% block ceph_nfs_footer %}{% endblock %}
|
||||||
|
{% block footer %}{% endblock %}
|
||||||
|
|
||||||
|
USER ceph
|
4
releasenotes/notes/add-ceph-nfs-b64cfba4775589a0.yaml
Normal file
4
releasenotes/notes/add-ceph-nfs-b64cfba4775589a0.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Add ceph-nfs dockerfile
|
Loading…
Reference in New Issue
Block a user