db50f5ba97
Use default 'DISTRO_NAME' variable for check which distro is use for current image build Change-Id: Ieba71733fbcd554a1c7416efb0c4b740939d06a8 Closes-bug: #1436807 |
||
---|---|---|
.. | ||
install.d | ||
post-install.d | ||
root.d | ||
element-deps | ||
README.rst |
Creates images with local mirrors of MapR repositories: core and ecosystem. Installs OpenJDK and Scala.
In order to create the MapR images with the diskimage-create.sh script, use the following syntax to select the "MapR" plugin: .. sourcecode:: bash
sudo bash diskimage-create.sh -p mapr [-i ubuntu4.0.1]
NOTE: By default MapR 4.0.1 version will be used
In order to speed up image creation process you can download archives
with MapR repositories and specify environment variable:
DIB_MAPR_CORE_DEB_REPO
,
DIB_MAPR_CORE_RPM_REPO
, DIB_MAPR_ECO_DEB_REPO
,
DIB_MAPR_ECO_RPM_REPO
For example: .. sourcecode:: bash
export DIB_MAPR_CORE_DEB_REPO="file://<path-to-archive>/mapr-v4.0.1GA.deb.tgz" export DIB_MAPR_CORE_RPM_REPO="file://<path-to-archive>/mapr-v4.0.1GA.rpm.tgz" export DIB_MAPR_ECO_DEB_REPO="http://<URL>/mapr-ecosystem.deb.tgz" export DIB_MAPR_ECO_RPM_REPO="http://<URL>/mapr-ecosystem.rpm.tgz" sudo -E bash diskimage-create.sh -p mapr -r 4.0.1