Displaying 2 results from an estimated 2 matches for "unenroll_freeipa_perform".
2020 May 04
0
[PATCH 4/4] sysprep: add FreeIPA offline unenrollment (RHBZ#1789592)
...ou should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *)
+
+open Sysprep_operation
+open Common_gettext.Gettext
+
+module G = Guestfs
+
+let unenroll_freeipa_perform (g : Guestfs.guestfs) root side_effects =
+  let typ = g#inspect_get_type root in
+  if typ = "linux" then (
+    (* Simple paths with no side effects. *)
+    let paths = [ "/etc/ipa/ca.crt";
+                  "/etc/ipa/default.conf";
+                  "/var/li...
2020 May 04
7
[PATCH 0/4] sysprep: add FreeIPA offline unenrollment (RHBZ#1789592)
This patch series adds a new virt-sysprep operation to offline unenroll
a guest from FreeIPA. It does so by removing some configuration files
and certificates.
It requires a change in libguestfs-common before the series is applied.
Pino Toscano (4):
  customize: port do_run to run_in_guest_command
  sysprep: add a update_system_ca_store side effect
  sysprep: ca-certificates: request system CA