summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-07-03 04:16:14 +0000
committerJing Lu <lvjing5@huawei.com>2017-07-03 08:35:25 +0000
commit0367765435e89f1590c6db25b74880b8014164c8 (patch)
treeb8d4700271869a6cd31b2ea56d19f1b390bc1ec2
parent20b220b4907b92b3b1afe659f532f3bb931d0c43 (diff)
Bugfix: amend the CLI to build yardstick-image manually
Change-Id: I8fbf0d6383375660c05e55d36fb0d2f91e1d8de8 Signed-off-by: JingLu5 <lvjing5@huawei.com>
-rw-r--r--docs/testing/user/userguide/04-installation.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/testing/user/userguide/04-installation.rst b/docs/testing/user/userguide/04-installation.rst
index 660f3b5a8..37e4ba599 100644
--- a/docs/testing/user/userguide/04-installation.rst
+++ b/docs/testing/user/userguide/04-installation.rst
@@ -215,6 +215,8 @@ follwing the commands below::
This image can be built using the following command in the directory where Yardstick is installed::
+ export YARD_IMG_ARCH='amd64'
+ sudo echo "Defaults env_keep += \'YARD_IMG_ARCH\'" >> /etc/sudoers
sudo tools/yardstick-img-modify tools/ubuntu-server-cloudimg-modify.sh
**Warning:** Before building the guest image inside the Yardstick container, make sure the container is granted with privilege. The script will create files by default in ``/tmp/workspace/yardstick`` and the files will be owned by root!