From dc0ecb294f37778817b974326320f8e59e47757e Mon Sep 17 00:00:00 2001 From: Nikos Skalkotos <skalkoto@grnet.gr> Date: Wed, 9 Oct 2013 17:48:47 +0300 Subject: [PATCH] docs: "Create a new image" example runs in Wheezy Make sure to state that the host system in the "Create a new image" example is a Debian Wheezy system. Most of the things work in every distro, but some commands (e.g. kvm) may have a different name or a slightly different functionality. --- docs/usage.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 5dd73d4..fc99172 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -239,8 +239,8 @@ for more information). Creating a new image ==================== -Suppose you want to create a new Ubuntu server image. Download the installation -disk from the Internet: +Suppose your host system is a Debian Wheezy and you want to create a new Ubuntu +server image. Download the installation disk from the Internet: .. code-block:: console @@ -272,7 +272,9 @@ And install the Ubuntu system on this file: use LVM partitions. They are not supported by snf-image-creator. You will be able to boot your installed OS and make any changes you want -(e.g. install openssh-server) using the following command:: +(e.g. install openssh-server) using the following command: + +.. code-block:: console $ sudo kvm -m 1G -boot c -drive file=ubuntu.raw,format=raw,cache=none,if=virtio -- GitLab