From 4fa51f11da26280c703bac150a5f9a86fc853f2e Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 25 Jul 2012 10:09:28 +0100 Subject: sysprep: operation machine-id: return `Created_files. This operation can create the /etc/machine-id file, so it may need to be relabelled by SELinux. This fixes commit e68336d72a7d71a44d80f0d13c40ff44653e5c01. --- sysprep/sysprep_operation_machine_id.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysprep/sysprep_operation_machine_id.ml b/sysprep/sysprep_operation_machine_id.ml index 4fc0fe53..7e998cf5 100644 --- a/sysprep/sysprep_operation_machine_id.ml +++ b/sysprep/sysprep_operation_machine_id.ml @@ -27,7 +27,7 @@ let machine_id_perform g root = let path = "/etc/machine-id" in (try g#rm path with G.Error _ -> ()); (try g#touch path with G.Error _ -> ()); - [] + [ `Created_files ] ) else [] -- cgit