mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
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:
@@ -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 []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user