diff options
author | JingLu5 <lvjing5@huawei.com> | 2017-07-03 04:16:14 +0000 |
---|---|---|
committer | Jing Lu <lvjing5@huawei.com> | 2017-07-03 08:35:47 +0000 |
commit | 7bdb37105fb4520abba6568c85e1cf17dc4aafe6 (patch) | |
tree | d6f50090cf892a98b41abaca4de49acbfef110b8 /docs/testing | |
parent | 64c7cc4212cf46cf8d39fa0d40a20caf6230e777 (diff) |
Bugfix: amend the CLI to build yardstick-image manually
Change-Id: I8fbf0d6383375660c05e55d36fb0d2f91e1d8de8
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'docs/testing')
-rw-r--r-- | docs/testing/user/userguide/04-installation.rst | 2 |
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! |