1CDIST-TYPE__CHROOT_MOUNT(7) cdist CDIST-TYPE__CHROOT_MOUNT(7)
2
3
4
6 cdist-type__chroot_mount - mount a chroot
7
9 Mount and prepare a chroot for running commands within it.
10
12 None
13
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
23 None.
24
26 __chroot_mount /path/to/chroot
27
28 __chroot_mount /path/to/chroot \
29 --manage-resolv-conf "some-known-string"
30
32 Steven Armstrong <steven-cdist--@--armstrong.cc>
33
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
38 License, or (at your option) any later version.
39
41 ungleich GmbH 2019
42
43
44
45
466.4.0 Jan 04, 2020 CDIST-TYPE__CHROOT_MOUNT(7)