File: apt.mdwn

package info (click to toggle)
vmdb2 0.41-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 572 kB
  • sloc: python: 2,591; sh: 151; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Step: apt
-----------------------------------------------------------------------------

Install packages using apt, which needs to already have been
installed.

Step keys:

* `apt` — REQUIRED; value MUST be `install`.

* `tag` — REQUIRED; value is the tag for the root filesystem.

* `packages` — REQUIRED; value is a list of packages to install.

* `recommends` — OPTIONAL; defaults to true. Setting value to a
  false (i.e. `0`, `null`, `false`) asks apt-get to run with the
  `--no-install-recommends` option set.

Example (in the .vmdb file):

    - apt: install
      tag: root
      packages:
      - python
      - linux-image-amd64