summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2017-10-10 00:59:11 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-10 00:59:11 +0000
commit7fb4a641b9fd176dcad36d881bf5e11035392020 (patch)
treee31497956d4035fd88601a0d2f3e55d25404f41c
parent4a522eb1a4fe5448316b50c2db84c344bd7dba73 (diff)
parent47d0995307685d7d3903fd909e6b1e7ad4311649 (diff)
Merge "Create iso file during build"
-rwxr-xr-xci/build_rpm/build_rpms_docker.sh1
-rw-r--r--docker/Dockerfile1
-rw-r--r--docs/release/installation/installation_guide.rst17
3 files changed, 12 insertions, 7 deletions
diff --git a/ci/build_rpm/build_rpms_docker.sh b/ci/build_rpm/build_rpms_docker.sh
index b005a243..c6d31f9a 100755
--- a/ci/build_rpm/build_rpms_docker.sh
+++ b/ci/build_rpm/build_rpms_docker.sh
@@ -62,4 +62,5 @@ cd ..
mv target/el7/noarch/installdaisy_el7_noarch.bin target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin
chmod +x target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin
cp target/el7/noarch/opnfv-${OPNFV_ARTIFACT_VERSION}.bin $rpm_output_dir
+mkisofs -o $rpm_output_dir/opnfv-${OPNFV_ARTIFACT_VERSION}.iso target/el7/noarch/
exit $rc
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 3418a128..0e643035 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -5,6 +5,7 @@ ENV BRANCH=${BRANCH:-master}
RUN yum -y update
RUN yum -y install centos-release-openstack-ocata
RUN yum -y install \
+ genisoimage \
wget \
coreutils \
which \
diff --git a/docs/release/installation/installation_guide.rst b/docs/release/installation/installation_guide.rst
index 7e72db42..3017f1cd 100644
--- a/docs/release/installation/installation_guide.rst
+++ b/docs/release/installation/installation_guide.rst
@@ -21,24 +21,27 @@ Before starting the installation of the Euphrates release of OPNFV, some plannin
must be done.
-Retrieve the installation bin image
+Retrieve the installation iso image
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-First of all, the installation bin which includes packages of Daisy, OS,
+First of all, the installation iso which includes packages of Daisy, OS,
OpenStack, and so on is needed for deploying your OPNFV environment.
-The stable release bin image can be retrieved via `OPNFV software download page <https://www.opnfv.org/software>`_
+The stable release iso image can be retrieved via `OPNFV software download page <https://www.opnfv.org/software>`_
-The daily build bin image can be retrieved via OPNFV artifact repository:
+The daily build iso image can be retrieved via OPNFV artifact repository:
http://artifacts.opnfv.org/daisy.html
-NOTE: Search the keyword "daisy/Euphrates" to locate the bin image.
+NOTE: Search the keyword "daisy/Euphrates" to locate the iso image.
E.g.
-daisy/opnfv-gerrit-27155.bin
+daisy/opnfv-2017-10-06_09-50-23.iso
-The git url and sha1 of bin image are recorded in properties files.
+Download the iso file, then mount it to a specified directory and get the
+opnfv-*.bin from that directory.
+
+The git url and sha512 checksum of iso image are recorded in properties files.
According to these, the corresponding deployment scripts can be retrieved.