Bugfix: amend the CLI to build yardstick-image manually 53/36853/2
authorJingLu5 <lvjing5@huawei.com>
Mon, 3 Jul 2017 04:16:14 +0000 (04:16 +0000)
committerJing Lu <lvjing5@huawei.com>
Mon, 3 Jul 2017 08:35:47 +0000 (08:35 +0000)
Change-Id: I8fbf0d6383375660c05e55d36fb0d2f91e1d8de8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
docs/testing/user/userguide/04-installation.rst

index 660f3b5..37e4ba5 100644 (file)
@@ -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!