CDIST-TYPE__CHROOT_UMOUNT(7)

πŸ’… NAME πŸ’…

cdist-type__chroot_umount β€” bestie, this is the manual page (cdist-type__chroot_umount(7)) for the type that unmounts a chroot that __chroot_mount mounted. Yes, it's the clean-up crew. ✨


🫢 DESCRIPTION 🫢

It undoes what __chroot_mount did. That's it. That's the whole job. It's giving "you made the mess, I unmount the mess." 🌸


⭐ REQUIRED PARAMETERS ⭐

None. Nothing. Zero. You literally don't have to give it anything extra. πŸ‘‘


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

  • manage-resolv-conf β€” this one manages /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 to restore the initial file content when unmounting the chroot. πŸ¦‹

🌈 BOOLEAN PARAMETERS 🌈

None. (Yep, we checked. Twice. πŸ’…)


✨ EXAMPLES ✨

Just point it at the chroot and go:

__chroot_umount /path/to/chroot

Or if you were managing resolv.conf, pass the same known string so it can find the backup and put things back:

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

πŸ‘€ SEE ALSO πŸ‘€

cdist-type__chroot_mount(7) β€” the other half of this iconic duo. Go read it, iykyk. πŸ’–


πŸ’œ AUTHORS πŸ’œ

Steven Armstrong <steven-cdist--@--armstrong.cc> β€” periodt. 🎀


πŸ“œ 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.


ungleich GmbH 2021


Fr fr, that's the whole page β€” cdist 7.0.0, dated Jul 31, 2022, and this was CDIST-TYPE__CHROOT_UMOUNT(7). Stay unmounted, bestie. πŸ§šπŸ’–
πŸ“¦ where this page comes from