mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sysprep: firstboot: Don't set `Created_files flag unless files are created.
This commit is contained in:
@@ -46,7 +46,7 @@ let firstboot_perform g root =
|
||||
let id = make_id_from_filename basename in
|
||||
Firstboot.add_firstboot_script g root id content
|
||||
) !files;
|
||||
[ `Created_files ]
|
||||
if !files <> [] then [ `Created_files ] else []
|
||||
|
||||
let op = {
|
||||
defaults with
|
||||
|
||||
Reference in New Issue
Block a user