Commit 08d71238 authored by Nikos Skalkotos's avatar Nikos Skalkotos

docs: Use # as prompt for cmds executed by root

If a command needs root privileges use # as prompt. In any other case
use $.
parent 93d1b2cb
......@@ -48,25 +48,25 @@ Add the apt-dev GPG key to the list of trusted keys:
.. code-block:: console
$ curl https://dev.grnet.gr/files/apt-grnetdev.pub | apt-key add -
# curl https://dev.grnet.gr/files/apt-grnetdev.pub | apt-key add -
And resynchronize the package index files from their sources:
.. code-block:: console
$ sudo apt-get update
# apt-get update
You should be able to list the package by calling:
.. code-block:: console
$ apt-cache showpkg snf-image-creator
# apt-cache showpkg snf-image-creator
And install the package with this command:
.. code-block:: console
$ apt-get install snf-image-creator
# apt-get install snf-image-creator
Ubuntu
------
......@@ -122,20 +122,20 @@ Add the *synnefo* repository for *Fedora 20* to *yum*:
.. code-block:: console
$ cd /etc/yum.repos.d
$ wget http://download.opensuse.org/repositories/home:/GRNET:/synnefo/Fedora_20/home:GRNET:synnefo.repo
# cd /etc/yum.repos.d
# wget http://download.opensuse.org/repositories/home:/GRNET:/synnefo/Fedora_20/home:GRNET:synnefo.repo
To list the *snf-image-creator* package use the following command:
.. code-block:: console
$ yum info snf-image-creator
# yum info snf-image-creator
Install the package by issuing:
.. code-block:: console
$ yum install snf-image-creator
# yum install snf-image-creator
CentOS
------
......@@ -147,8 +147,8 @@ Add the *synnefo* repository for *CentOS 6* to the yum repositories list:
.. code-block:: console
$ cd /etc/yum.repos.d
$ wget http://download.opensuse.org/repositories/home:/GRNET:/synnefo/CentOS_CentOS-6/home:GRNET:synnefo.repo
# cd /etc/yum.repos.d
# wget http://download.opensuse.org/repositories/home:/GRNET:/synnefo/CentOS_CentOS-6/home:GRNET:synnefo.repo
Check the `Fedora <#fedora>`_ instructions on how to install the software.
......@@ -163,25 +163,25 @@ Add the *Virtualization* repository for *openSUSE 13.1* to *YaST* with the
.. code-block:: console
$ zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/Virtualization.repo
# zypper ar -f http://download.opensuse.org/repositories/Virtualization/openSUSE_13.1/Virtualization.repo
Add the *Synnefo* repository:
.. code-block:: console
$ zypper ar -f http://download.opensuse.org/repositories/home:/GRNET:/synnefo/openSUSE_13.1/home:GRNET:synnefo.repo
# zypper ar -f http://download.opensuse.org/repositories/home:/GRNET:/synnefo/openSUSE_13.1/home:GRNET:synnefo.repo
To list the *snf-image-creator* package use the following command:
.. code-block:: console
$ zypper se snf-image-creator
# zypper se snf-image-creator
Install the package by issuing:
.. code-block:: console
$ zypper in snf-image-creator
# zypper in snf-image-creator
Arch Linux
......@@ -206,13 +206,13 @@ the *yaourt* package:
$ tar -xvf package-query.tar.gz
$ cd package-query
$ makepkg -s
$ pacman -U package-query-<VERSION>-<ARCH>.pkg.tar.xz
$ su -c 'pacman -U package-query-<VERSION>-<ARCH>.pkg.tar.xz'
$ cd ..
$ wget https://aur.archlinux.org/packages/ya/yaourt/yaourt.tar.gz
$ tar -xvf yaourt.tar.gz
$ cd yaourt
$ makepkg -s
$ pacman -U yaourt-<VERSION>-<ARCH>.pkg.tar.xz
$ su -c 'pacman -U yaourt-<VERSION>-<ARCH>.pkg.tar.xz'
Install *snf-image-creator* using yaourt:
......@@ -315,7 +315,7 @@ cloning its git repository:
$ python ./setup.py install
To do the latter, you'll need to have git (http://git-scm.com/) installed.
For ubuntu this can be done using:
For Ubuntu this can be done using:
.. code-block:: console
......
......@@ -17,7 +17,7 @@ snf-mkimage receives the following options:
.. code-block:: console
$ snf-mkimage --help
# snf-mkimage --help
Usage: snf-mkimage [options] <input_media>
Options:
......@@ -89,7 +89,7 @@ Ubuntu system, will print the following output:
.. code-block:: console
$ snf-mkimage --print-syspreps ubuntu.raw
# snf-mkimage --print-syspreps ubuntu.raw
snf-image-creator 0.7
===========================
......@@ -174,7 +174,7 @@ Dialog-based version
.. code-block:: console
$ snf-image-creator --help
# snf-image-creator --help
Usage: snf-image-creator [options] [<input_media>]
Options:
......@@ -300,7 +300,7 @@ the image:
.. code-block:: console
$ sudo -s
$ snf-image-creator ubuntu.raw
# snf-image-creator ubuntu.raw
In the first screen you will be asked to choose if you want to run the program
in *Wizard* or *Expert* mode. Choose *Wizard*.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment