summaryrefslogtreecommitdiff
path: root/vmdb/plugins/virtualfs.mdwn
blob: a9ee6d9d07ab4faa26d200bef47c7dd1fea28b24 (plain)
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
26
27
28
29
Step: virtual-filesystems
-----------------------------------------------------------------------------

Mount the usual Linux virtual filesystems in the chroot:

* `/proc`
* `/dev`
* `/dev/pts`
* `/dev/shm`
* `/run`
* `/run/lock`
* `/sys`

They will be automatically unmounted at the end.

Often, the virtual filesystems are unnecessary, but some Debian
packages won't install without them. The grub boot loader needs them
as well, but mounts what it needs itself, if necessary.

Step keys:

* `virtual-filesystems` — REQUIRED; value is the tag of
  the root filesystem.

Example (in the .vmdb file):

~~~yaml
- virtual-filesystem: rootfs
~~~