Displaying 2 results from an estimated 2 matches for "190ca5b".
2015 Jul 29
2
[PATCH 1/2] sysprep: machine_id: simplify implementation
...the single path into a list, so more machine-id files can be
handled at once.
---
sysprep/sysprep_operation_machine_id.ml | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/sysprep/sysprep_operation_machine_id.ml b/sysprep/sysprep_operation_machine_id.ml
index fbcc692..190ca5b 100644
--- a/sysprep/sysprep_operation_machine_id.ml
+++ b/sysprep/sysprep_operation_machine_id.ml
@@ -21,15 +21,12 @@ open Common_gettext.Gettext
module G = Guestfs
-let machine_id_perform g root side_effects =
+let machine_id_perform (g : Guestfs.guestfs) root side_effects =
let typ = g#i...
2015 Jul 29
0
[PATCH 2/2] sysprep: machine_id: handle /var/lib/dbus/machine-id
Another machine-id file, used by D-Bus.
---
sysprep/sysprep_operation_machine_id.ml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation_machine_id.ml b/sysprep/sysprep_operation_machine_id.ml
index 190ca5b..dbf8ce2 100644
--- a/sysprep/sysprep_operation_machine_id.ml
+++ b/sysprep/sysprep_operation_machine_id.ml
@@ -24,7 +24,8 @@ module G = Guestfs
let machine_id_perform (g : Guestfs.guestfs) root side_effects =
let typ = g#inspect_get_type root in
if typ <> "windows" then (
-...