Move root password setting to a dedicated element.

Change-Id: I4411b630a7c5a5dcc0147c33bda87a9464db29d4
This commit is contained in:
Robert Collins 2013-06-07 10:42:07 +12:00 committed by Sergey Lukjanov
parent 2d82e69211
commit 3736c4426d
3 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Steps how to create cloud image with Apache Hadoop installed using diskimage-bui
.. sourcecode:: bash
JAVA_FILE=jdk-7u21-linux-x64.tar.gz DIB_HADOOP_VERSION=1.1.2 disk-image-create base vm hadoop ubuntu -o hadoop_1_1_2
JAVA_FILE=jdk-7u21-linux-x64.tar.gz DIB_HADOOP_VERSION=1.1.2 disk-image-create base vm hadoop ubuntu root-password -o hadoop_1_1_2
In this command 'DIB_HADOOP_VERSION' parameter is version of hadoop needs to be installed.
You can use 'JAVA_DOWNLOAD_URL' parameter to specify download link for JDK (tarball or bin).

View File

@ -0,0 +1,4 @@
Assign a password to root.
This is useful when booting outside of a cloud environment (e.g. manually via
kvm).