---
name: "cdist-type__chroot_umount"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__chroot_umount"
---

# cdist-type\_\_chroot\_umount(7)

unmount a chroot mounted by \_\_chroot\_mount

## NAME

cdist-type\_\_chroot\_umount - unmount a chroot mounted by \_\_chroot\_mount

## DESCRIPTION

Undo what \_\_chroot\_mount did.

## REQUIRED PARAMETERS

None

## 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.

## BOOLEAN PARAMETERS

None.

## EXAMPLES

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

## SEE ALSO

[**cdist-type\_\_chroot\_mount**(7)](/cdist-type__chroot_mount/7.md)

## AUTHORS

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

## 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.

## COPYRIGHT

ungleich GmbH 2021
