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 e68336d72a.
This commit is contained in:
Richard W.M. Jones
2012-07-25 10:09:28 +01:00
parent e68336d72a
commit 4fa51f11da

View File

@@ -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 []