search for: op_typ

Displaying 20 results from an estimated 84 matches for "op_typ".

Did you mean: op_type
2015 Jan 21
2
[PATCH] customize: add --commands-from-file
...ir arguments are met. *) + () + | `Delete path -> msg (f_"Deleting: %s") path; g#rm_rf path diff --git a/generator/customize.ml b/generator/customize.ml index 82ecb79..d5e72ac 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -43,6 +43,7 @@ and op_type = | PasswordSelector of string (* password selector *) | UserPasswordSelector of string (* user:selector *) | SSHKeySelector of string (* user:selector *) +| StringFn of (string * string) (* string, function name *) let ops = [ { op_name = "chmo...
2015 Jul 17
0
[PATCH 2/2] customize: add basic subscription-manager operations
...se_pool_selector : string -> sm_pool +(** Parse the selector field in --sm-attach. Exits if the format + is not valid. *) diff --git a/generator/customize.ml b/generator/customize.ml index f57aba6..2196e9e 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -44,6 +44,7 @@ and op_type = | UserPasswordSelector of string (* user:selector *) | SSHKeySelector of string (* user:selector *) | StringFn of (string * string) (* string, function name *) +| SMPoolSelector of string (* pool selector *) let ops = [ { op_name = "chmod&qu...
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
2002 Feb 25
3
PATCH: Samba/Win2K renaming bug
...he Samba share: she would always get a sharing violation. After a day of reading Samba logs at debug 10 (_such_ fun [ ;) ]) and adding debug information so I could figure out what was up, I found some oddness in check_file_sharing. It was always reporting the MP3s as having a single share mode of op_type _0_, locked by the Samba server that was trying to do the rename. op_type 0 seemed to imply an unlocked share, so I went in to see if I could tweak the server to work in that case. A full patch (including a TON of DEBUG() changes) is included below -- in brief, though, I changed the test in chec...
2023 Jun 29
2
[PATCH libguestfs] generator: Add --chown option for virt-customize
...3e24 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -95,6 +95,34 @@ I<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...
2014 Nov 03
0
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
...e format is not valid. *) + +val do_ssh_inject_unix : Guestfs.guestfs -> string -> ssh_key_selector -> unit +(** ... *) diff --git a/generator/customize.ml b/generator/customize.ml index 8642a54..82ecb79 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -42,6 +42,7 @@ and op_type = | TargetLinks of string (* target:link[:link...] *) | PasswordSelector of string (* password selector *) | UserPasswordSelector of string (* user:selector *) +| SSHKeySelector of string (* user:selector *) let ops = [ { op_name = "chmo...
2014 Nov 02
3
[PATCH] customize: Add --ssh-inject option for injecting SSH keys.
...root tz) then diff --git a/generator/customize.ml b/generator/customize.ml index 8642a54..ef91b62 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -260,6 +260,24 @@ It cannot delete directories, only regular files. =back"; }; + { op_name = "ssh-inject"; + op_type = String "USER[=KEY]"; + op_discrim = "`SSHInject"; + op_shortdesc = "Inject a public key into the guest"; + op_pod_longdesc = "\ +Inject an ssh key so the given C<USER> will be able to log in over +ssh without supplying a password. + +If just I&lt...
2015 Jul 08
0
[PATCH 6/6] customize: add basic subscription-manager operations
...rd" -> diff --git a/generator/customize.ml b/generator/customize.ml index 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&gt...
2016 Jun 07
1
[PATCH] customize: Add --uninstall operation.
...t;; +See also I<--update>, I<--uninstall>."; }; { op_name = "link"; @@ -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 packag...
2011 Oct 06
4
[LLVMdev] TableGen and Greenspun
...'ve found it to be too limiting. In this example: (Equivalent TableGen code with a for-loop) ---------------------------------------- multiclass PTX_FLOAT_4OP<string opcstr, SDNode opnode1, SDNode opnode2> { for nbit = [32, 32, 64, 64], op_suffix = [r, i, r, i], op_type = [RegF32, f32imm, RegF64, f64imm], op_node_type = [RegF32, fpimm, RegF64, fpimm] in { def rr#op_suffix#nbit : InstPTX<(outs RegF#nbit:$d), (ins RegF#nbit:$a, RegF#nbit:$b, #op_type:$c), !strconcat(opcstr, ".f#nbit\t$d, $a, $b, $c")...
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.
2011 Oct 06
0
[LLVMdev] TableGen and Greenspun
Jakob Stoklund Olesen <jolesen at apple.com> writes: > The TableGen language seems to be growing Lisp macros from two > different directions. > > Che-Liang Chiou added a preprocessor with for loops, and David Greene > added multidefs. > > It seems that some kind of macro facility is needed, perhaps we should > discuss what it is supposed to look like? Don't
2011 Oct 06
3
[LLVMdev] TableGen and Greenspun
The TableGen language seems to be growing Lisp macros from two different directions. Che-Liang Chiou added a preprocessor with for loops, and David Greene added multidefs. It seems that some kind of macro facility is needed, perhaps we should discuss what it is supposed to look like? /jakob
2016 May 03
1
[PATCH] customize: remove "core" from description of --update
...md cmd diff --git a/generator/customize.ml b/generator/customize.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 p...
2015 Feb 02
0
[PATCH 7/7] customize: add copy-in operation (RHBZ#1135585).
...--git a/generator/customize.ml b/generator/customize.ml index c041f82..1c9092b 100644 --- a/generator/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<REMO...
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
....ml b/generator/customize.ml index f7ec3f2..bfb37f7 100644 --- a/generator/customize.ml +++ 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_nam...
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
2015 Mar 23
2
[PATCH] customize: add --move
From: Maros Zatko <hacxman@gmail.com> This adds --move SOURCE:DEST, equivalent of calling g#mv src dst. RFE: RHBZ#1203817 Maros Zatko (1): customize: add --move builder/cmdline.ml | 2 +- customize/customize_run.ml | 4 ++++ generator/customize.ml | 10 ++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) -- 1.9.3
2015 Mar 23
0
[PATCH] customize: add --move
....ml index 96c4c48..99ff4b9 100644 --- a/generator/customize.ml +++ b/generator/customize.ml @@ -222,6 +222,16 @@ This uses S<C<mkdir -p>> so any intermediate directories are created, and it also works if the directory already exists."; }; + { op_name = "move"; + op_type = StringPair "SOURCE:DEST"; + op_discrim = "`Move"; + op_shortdesc = "Move files in disk image"; + op_pod_longdesc = "\ +Move files or directories inside the guest. + +Wildcards cannot be used."; + }; + { op_name = "password"; op_...