
Change-Id: I87fde2f5d5b430b935c3261d31b86a7b68ac3244 Implements: blueprint mapr-image-elements
1.1 KiB
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