diff --git a/sysprep/sysprep_operation_machine_id.ml b/sysprep/sysprep_operation_machine_id.ml index 190ca5bb5..dbf8ce242 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 ( - let paths = [ "/etc/machine-id"; ] in + let paths = [ "/etc/machine-id"; + "/var/lib/dbus/machine-id"; ] in let paths = List.filter g#is_file paths in List.iter g#truncate paths )