File: chroot.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 (16 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Step: chroot
-----------------------------------------------------------------------------

Run a shell snippet in a chroot inside the image.

Step keys:

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

* `shell` — REQUIRED; the shell snippet to run

Example (in the .vmdb file):

    - chroot: root
      shell: |
          echo I am in chroot