From c548fd88d8e8d67fdd0171c87bcdaf812603845b Mon Sep 17 00:00:00 2001 From: QiLiang Date: Mon, 9 May 2016 20:27:12 +0000 Subject: User guide update Add an dditional step to use the guest image building tools (yardstick-img-modify). JIRA: - Change-Id: I72bb4b9476c941fa9c1edbb1b9008af7aa048696 Signed-off-by: QiLiang --- docs/userguide/03-installation.rst | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'docs/userguide') diff --git a/docs/userguide/03-installation.rst b/docs/userguide/03-installation.rst index 47a3ea834..f68c1d9d7 100644 --- a/docs/userguide/03-installation.rst +++ b/docs/userguide/03-installation.rst @@ -34,8 +34,20 @@ Installing Yardstick framework Install dependencies: :: - sudo apt-get install python-virtualenv python-dev - sudo apt-get install libffi-dev libssl-dev git + sudo apt-get update && sudo apt-get install -y \ + wget \ + git \ + sshpass \ + qemu-utils \ + kpartx \ + libffi-dev \ + libssl-dev \ + python \ + python-dev \ + python-virtualenv \ + libxml2-dev \ + libxslt1-dev \ + python-setuptools Create a python virtual environment, source it and update setuptools: :: @@ -65,6 +77,7 @@ Yardstick has an internal plotting tool ``yardstick-plot``, which can be install using the following command: :: + sudo apt-get install -y g++ libfreetype6-dev libpng-dev pkg-config python setup.py develop easy_install yardstick[plot] .. _guest-image: @@ -75,6 +88,14 @@ Yardstick has a tool for building an Ubuntu Cloud Server image containing all the required tools to run test cases supported by Yardstick. It is necessary to have sudo rights to use this tool. +Also you may need install several additional packages to use this tool, by +follwing the commands below: +:: + + apt-get update && apt-get install -y \ + qemu-utils \ + kpartx + This image can be built using the following command while in the directory where Yardstick is installed (``~/yardstick`` if the framework is installed by following the commands above): -- cgit 1.2.3-korg