search for: op_shortdesc

Displaying 20 results from an estimated 37 matches for "op_shortdesc".

2016 May 03
1
[PATCH] customize: remove "core" from description of --update
...tomize.ml index 55ee252..3d3f978 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -427,7 +427,7 @@ This command performs a L<touch(1)>-like operation on C<FILE>."; { op_name = "update"; op_type = Unit; op_discrim = "`Update"; - op_shortdesc = "Update core packages"; + op_shortdesc = "Update packages"; op_pod_longdesc = "\ Do the equivalent of C<yum update>, C<apt-get upgrade>, or whatever command is required to update the packages already installed in the -- 2.5.5
2015 Jul 08
0
[PATCH 6/6] customize: add basic subscription-manager operations
...ex f57aba6..bb31c25 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -327,6 +327,64 @@ It cannot delete directories, only regular files. =back"; }; + { op_name = "sm-attach"; + op_type = String "ID"; + op_discrim = "`SMAttach"; + op_shortdesc = "Attach to a subscription-manager pool"; + op_pod_longdesc = "\ +Attach to a pool using C<subscription-manager>. C<ID> can be any of +the following: + +=over 4 + +=item C<auto> + +subscription-manager attaches to the best-fitting subscriptions for +the system....
2023 Jun 29
2
[PATCH libguestfs] generator: Add --chown option for virt-customize
...<Note>: C<PERMISSIONS> by default would be decimal, unless you prefix it with C<0> to get octal, ie. use C<0700> not C<700>."; }; + { op_name = "chown"; + op_type = StringPair "UID.GID:PATH"; + op_discrim = "`Chown"; + op_shortdesc = "Change the owner user and group ID of a file or directory"; + op_pod_longdesc = "\ +Change the owner user and group ID of a file or directory in the guest. +Note: + +=over 4 + +=item * + +Only numeric UIDs and GIDs will work, and these may not be the same +inside the guest as o...
2016 Jul 15
5
[PATCH 0/3] mllib: Various fixes and changes to Getopt module.
The second patch is obviously not complete yet - for discussion only. Rich.
2015 Jul 17
0
[PATCH 2/2] customize: add basic subscription-manager operations
...(* pool selector *) let ops = [ { op_name = "chmod"; @@ -327,6 +328,44 @@ It cannot delete directories, only regular files. =back"; }; + { op_name = "sm-attach"; + op_type = SMPoolSelector "SELECTOR"; + op_discrim = "`SMAttach"; + op_shortdesc = "Attach to a subscription-manager pool"; + op_pod_longdesc = "\ +Attach to a pool using C<subscription-manager>. + +See L<virt-builder(1)/SUBSCRIPTION-MANAGER> for the format of +the C<SELECTOR> field."; + }; + + { op_name = "sm-register"; +...
2015 Jul 17
4
[PATCH v2 0/2] basic subscription-manager support in virt-customize
Hi, this is the v2 of a series introducing basic support for registering/attaching/unregistering RHEL guests using subscription-manager, so it is possible to do for example: $ virt-customize -a rhel-guest.qcow2 \ --sm-credentials user:file:/path/to/password-file --sm-register \ --sm-attach file:/path/to/pool-file \ --install pkg1 --install pkg2 .. \ --sm-remove --sm-unregister
2015 Jan 21
2
[PATCH] customize: add --commands-from-file
...imal, unless you prefix it with C<0> to get octal, ie. use C<0700> not C<700>."; }; + { op_name = "commands-from-file"; + op_type = StringFn ("FILENAME", "customize_read_from_file"); + op_discrim = "`CommandsFromFile"; + op_shortdesc = "Read customize commands from file"; + op_pod_longdesc = "\ +Read the customize commands from a file, one (and its arguments) +each line. + +Each line contains a single customization command and its arguments, +for example: + + delete /some/file + install some-package + password...
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...a/generator/customize.ml +++ b/generator/customize.ml @@ -590,6 +590,7 @@ open Printf open Common_utils open Common_gettext.Gettext +open Getopt.OptionName open Customize_utils @@ -652,7 +653,7 @@ let rec argspec () = | { op_type = Unit; op_name = name; op_discrim = discrim; op_shortdesc = shortdesc; op_pod_longdesc = longdesc } -> pr " (\n"; - pr " [ \"--%s\" ],\n" name; + pr " [ L\"%s\" ],\n" name; pr " Getopt.Unit (fun () -> push_front %s ops),\n" discrim; pr "...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2: - Further fixes to Getopt int parsing. - Completed the L/S changes. - Fixed the test suite so it passes now. Also we don't need the special-case tests for 64 bit arch. Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4: - Pushed the first patch upstream since it was ACKed. - Prevent use of M except for the special virt-v2v options. - Sort the options after added --help etc. - Make corresponding fixes to the tests. Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3: - Add M variant and test it. Rich.
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
...t;; @@ -424,6 +424,19 @@ string like C<Europe/London>"; This command performs a L<touch(1)>-like operation on C<FILE>."; }; + { op_name = "uninstall"; + op_type = StringList "PKG,PKG.."; + op_discrim = "`UninstallPackages"; + op_shortdesc = "Uninstall package(s)"; + op_pod_longdesc = "\ +Uninstall the named packages (a comma-separated list). These are +removed during the image build using the guest's package manager +(eg. apt, yum, etc.). Dependent packages may also need to be +uninstalled to satisfy the requ...
2014 Mar 18
2
[PATCH] customize: Move virt-customize-related code to a separate
There's not going to be an easy way to present this patch. It's huge and interconnected. Anyway, what it does is lay the groundwork for a new tool which I'm calling 'virt-customize'. virt-customize is virt-builder, but without the part where it downloads a template from a respository. Just the part where it customizes the template, that is, installing packages, editing
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...-type argspec = Arg.key * Arg.spec * Arg.doc > +type argspec = Getopt.keys * Getopt.spec * Getopt.doc > > let rec argspec () = > let ops = ref [] in > @@ -652,115 +652,123 @@ let rec argspec () = > | { op_type = Unit; op_name = name; op_discrim = discrim; > op_shortdesc = shortdesc; op_pod_longdesc = longdesc } -> > pr " (\n"; > - pr " \"--%s\",\n" name; > - pr " Arg.Unit (fun () -> ops := %s :: !ops),\n" discrim; > - pr " \" \" ^ s_\"%s\"\n&q...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...pr "\n"; pr "\ -type argspec = Arg.key * Arg.spec * Arg.doc +type argspec = Getopt.keys * Getopt.spec * Getopt.doc let rec argspec () = let ops = ref [] in @@ -652,115 +652,123 @@ let rec argspec () = | { op_type = Unit; op_name = name; op_discrim = discrim; op_shortdesc = shortdesc; op_pod_longdesc = longdesc } -> pr " (\n"; - pr " \"--%s\",\n" name; - pr " Arg.Unit (fun () -> ops := %s :: !ops),\n" discrim; - pr " \" \" ^ s_\"%s\"\n" shortdesc; +...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...pr "\n"; pr "\ -type argspec = Arg.key * Arg.spec * Arg.doc +type argspec = Getopt.keys * Getopt.spec * Getopt.doc let rec argspec () = let ops = ref [] in @@ -652,115 +652,123 @@ let rec argspec () = | { op_type = Unit; op_name = name; op_discrim = discrim; op_shortdesc = shortdesc; op_pod_longdesc = longdesc } -> pr " (\n"; - pr " \"--%s\",\n" name; - pr " Arg.Unit (fun () -> push_front %s ops),\n" discrim; - pr " \" \" ^ s_\"%s\"\n" shortdesc; +...
2015 Feb 02
0
[PATCH 7/7] customize: add copy-in operation (RHBZ#1135585).
...ator/customize.ml +++ b/generator/customize.ml @@ -85,6 +85,19 @@ as if they were specified as I<--delete /some/file> on the command line."; }; + { op_name = "copy-in"; + op_type = StringPair "LOCALPATH:REMOTEDIR"; + op_discrim = "`CopyIn"; + op_shortdesc = "Copy local files or directories into image"; + op_pod_longdesc = "\ +Copy local files or directories recursively into the disk image, +placing them in the directory C<REMOTEDIR> (which must exist). + +Wildcards cannot be used. + +See also: I<--copy-out>."; + }...
2015 Mar 05
1
[PATCH] add --truncate to virt-customize
Fixes RHBZ#119673. Maros Zatko (1): customize: add --truncate option (RHBZ#119673) builder/cmdline.ml | 2 +- customize/customize_run.ml | 4 ++++ generator/customize.ml | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) -- 1.9.3
2015 Mar 05
0
[PATCH] customize: add --truncate-recursive option
...+ b/generator/customize.ml @@ -326,6 +326,14 @@ This command truncates \"path\" to a zero-length file. The file must exist already."; }; + { op_name = "truncate-recursive"; + op_type = String "PATH"; + op_discrim = "`TruncateRecursive"; + op_shortdesc = "Recursively truncate all files in directory"; + op_pod_longdesc = "\ +This command recursively truncates all files under \"path\" to zero-length."; + }; + { op_name = "timezone"; op_type = String "TIMEZONE"; op_discrim = "`T...
2015 Mar 23
1
[PATCH] customize: add --copy
From: Maros Zatko <hacxman@gmail.com> This adds --copy SOURCE:DEST, equivalent of calling g#cp_a src dst. RFE: RHBZ#1203817 Maros Zatko (1): customize: add --copy builder/cmdline.ml | 2 +- customize/customize_run.ml | 4 ++++ generator/customize.ml | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) -- 1.9.3