1CDIST-TYPE__CHROOT_MOUNT(7)          cdist         CDIST-TYPE__CHROOT_MOUNT(7)
2
3
4

NAME

6       cdist-type__chroot_mount - mount a chroot
7

DESCRIPTION

9       Mount and prepare a chroot for running commands within it.
10

REQUIRED PARAMETERS

12       None
13

OPTIONAL PARAMETERS

15       manage-resolv-conf
16              manage  /etc/resolv.conf  inside  the  chroot.  Use the value of
17              this parameter as the suffix to  save  a  copy  of  the  current
18              /etc/resolv.conf  to  /etc/resolv.conf.$suffix.  This is used by
19              the __chroot_umount type to restore  the  initial  file  content
20              when unmounting the chroot.
21

BOOLEAN PARAMETERS

23       None.
24

EXAMPLES

26          __chroot_mount /path/to/chroot
27
28          __chroot_mount /path/to/chroot \
29            --manage-resolv-conf "some-known-string"
30

AUTHORS

32       Steven Armstrong <steven-cdist--@--armstrong.cc>
33

COPYING

35       Copyright  (C)  2012-2017  Steven  Armstrong.  You  can redistribute it
36       and/or modify it under the terms of the GNU General Public  License  as
37       published  by the Free Software Foundation, either version 3 of the Li‐
38       cense, or (at your option) any later version.
39
41       ungleich GmbH 2020
42
43
44
45
466.9.6                            Apr 20, 2021      CDIST-TYPE__CHROOT_MOUNT(7)
Impressum