logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cdist-type__chroot_umount - unmount a chroot mounted by __chroot_mount

Authors

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

Boolean Parameters

       None.

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.

Description

       Undo what __chroot_mount did.

Examples

          __chroot_umount /path/to/chroot

          __chroot_umount /path/to/chroot \
            --manage-resolv-conf "some-known-string"

Name

       cdist-type__chroot_umount - unmount a chroot mounted by __chroot_mount

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.

Required Parameters

       None

See Also

cdist-type__chroot_mount(7)

See Also