[Pkg-libvirt-commits] [libguestfs] 31/40: sysprep: add no-op --no-selinux-relabel (RHBZ#1148072)
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:49:14 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.57-1
in repository libguestfs.
commit d39744a030d075cdff82f1ca4c80ec40bdcfb699
Author: Pino Toscano <ptoscano at redhat.com>
Date: Wed Oct 1 10:12:38 2014 +0200
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.
---
sysprep/main.ml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysprep/main.ml b/sysprep/main.ml
index ea94728..f32c4ad 100644
--- a/sysprep/main.ml
+++ b/sysprep/main.ml
@@ -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";
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list