mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
sysprep: add no-op --no-selinux-relabel (RHBZ#1148072)
Add a no-op --no-selinux-relabel option, to be compatible with virt-sysprep < 1.26.
This commit is contained in:
@@ -140,6 +140,8 @@ let main () =
|
||||
"--list-operations", Arg.Unit list_operations, " " ^ s_"List supported operations";
|
||||
"--long-options", Arg.Unit display_long_options, " " ^ s_"List long options";
|
||||
"--mount-options", Arg.Set_string mount_opts, s_"opts" ^ " " ^ s_"Set mount options (eg /:noatime;/var:rw,noatime)";
|
||||
"--no-selinux-relabel", Arg.Unit (fun () -> ()),
|
||||
" " ^ s_"Compatibility option, does nothing";
|
||||
"--operation", Arg.String set_operations, " " ^ s_"Enable/disable specific operations";
|
||||
"--operations", Arg.String set_operations, " " ^ s_"Enable/disable specific operations";
|
||||
"-q", Arg.Set quiet, " " ^ s_"Don't print log messages";
|
||||
|
||||
Reference in New Issue
Block a user