16.19. cdist-type__chroot_umount(7)¶
16.19.1. NAME¶
cdist-type__chroot_umount - unmount a chroot mounted by __chroot_mount
16.19.2. DESCRIPTION¶
Undo what __chroot_mount did.
16.19.3. REQUIRED PARAMETERS¶
None
16.19.4. OPTIONAL PARAMETERS¶
- manage-resolv-conf
manage /etc/resolv.conf inside the chroot. Use the value of this parameter as the suffix to find the backup file that was saved by the __chroot_mount. This is used by the to restore the initial file content when unmounting the chroot.
16.19.5. BOOLEAN PARAMETERS¶
None.
16.19.6. EXAMPLES¶
__chroot_umount /path/to/chroot
__chroot_umount /path/to/chroot \
--manage-resolv-conf "some-known-string"
16.19.7. SEE ALSO¶
cdist-type__chroot_mount(7)
16.19.9. COPYING¶
Copyright (C) 2012-2017 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.