From 0367765435e89f1590c6db25b74880b8014164c8 Mon Sep 17 00:00:00 2001 From: JingLu5 Date: Mon, 3 Jul 2017 04:16:14 +0000 Subject: Bugfix: amend the CLI to build yardstick-image manually Change-Id: I8fbf0d6383375660c05e55d36fb0d2f91e1d8de8 Signed-off-by: JingLu5 --- docs/testing/user/userguide/04-installation.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/testing/user') 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! -- cgit 1.2.3-korg