Skip to content

Commit

Permalink
docs: add mtda docker and kvm instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Bhargav Das <bhargav_das@mentor.com>
  • Loading branch information
bhargav committed Feb 3, 2022
1 parent d138f58 commit 12e51aa
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Installation
============

Using apt on Debian 11
1.1 Using apt on Debian 11
----------------------

Packages for Debian 11 (bullseye) may be installed as follows::
Expand All @@ -11,7 +11,7 @@ Packages for Debian 11 (bullseye) may be installed as follows::
$ sudo apt-get update
$ sudo apt-get install -y mtda

Using apt on Ubuntu 20.04
1.2 Using apt on Ubuntu 20.04
-------------------------

Packages for Ubuntu 20.04 (Focal Fossa) may be installed as follows::
Expand All @@ -20,7 +20,7 @@ Packages for Ubuntu 20.04 (Focal Fossa) may be installed as follows::
$ sudo apt-get update
$ sudo apt-get install -y mtda

Using pip
1.3 Using pip
---------

The latest released version may be installed using pip::
Expand All @@ -38,3 +38,20 @@ You may check your installation with the ``help`` command::

$ export PATH=$HOME/.local/bin:$PATH
$ mtda-cli help

1.4 Using apt for installing mtda-docker and mtda-kvm
-------------------------------------------------

Package for both mtda-docker and mtda-kvm can be installed after executing either 1.1 or 1.2

`mtda-docker` may be installed as follows::

$ sudo apt-get install mtda-docker
$ sudo -p /etc/mtda/
$ sudo cp /usr/share/doc/mtda-docker/examples/docker.ini /etc/mtda/config

`mtda-kvm` may be installed as follows::

$ sudo apt-get install mtda-kvm
$ sudo -p /etc/mtda/
$ sudo cp /usr/share/doc/mtda-kvm/examples/qemu.ini /etc/mtda/config

0 comments on commit 12e51aa

Please sign in to comment.