CDIST-TYPE__CHROOT_MOUNT(7)

πŸ’… cdist-type__chroot_mount πŸ’…

okay bestie, welcome to the cdist-type__chroot_mount</p> page β€” it's a cdist type, manual section 7, and it's about to set up a whole chroot for you. slay.


✨ NAME ✨

cdist-type__chroot_mount</p> β€” mount a chroot. that's it, that's the vibe 🫢


🌸 DESCRIPTION 🌸

So like. This type mounts and prepares a chroot so you can actually run commands inside it. That's the whole job. It gets the chroot ready, no cap. πŸ”₯


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. literally nothing required, she's low maintenance πŸ’…


✨ OPTIONAL PARAMETERS ✨

  • manage-resolv-conf β€” bestie this one manages /etc/resolv.conf inside the chroot. here's the tea: whatever value you pass to this parameter gets used as the suffix when saving a copy of the current /etc/resolv.conf over to /etc/resolv.conf.$suffix. and why do we care?? because the __chroot_umount type uses that saved copy to restore the initial file content when it unmounts the chroot. iconic teamwork fr fr 🧚

πŸ¦‹ BOOLEAN PARAMETERS πŸ¦‹

None. zero. nada. πŸ“


🌈 EXAMPLES 🌈

just the chroot, plain and simple:

__chroot_mount /path/to/chroot

or, the deluxe edition with a resolv.conf suffix of your choosing:

__chroot_mount /path/to/chroot \
  --manage-resolv-conf "some-known-string"
note: that "some-known-string" is a literal example value, keep it exactly as-is when you copy, bestie πŸ’–

πŸ‘‘ AUTHORS πŸ‘‘

Steven Armstrong &lt;steven-cdist--@--armstrong.cc&gt;


πŸ’œ 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


and that's the whole page, bestie πŸ₯° this was version 7.0.0, dated Jul 31, 2022, and yeah β€” it lives under CDIST-TYPE__CHROOT_MOUNT(7). go mount that chroot, main character energy only πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from