Displaying 9 results from an estimated 9 matches for "feature_libguestfs_rewrite_re".
2016 Jun 23
1
[PATCH] p2v: improve error message for sudo with password
....c
index 76a6827..97d76ae 100644
--- a/p2v/ssh.c
+++ b/p2v/ssh.c
@@ -97,6 +97,7 @@ static void free_regexps (void) __attribute__((destructor));
static pcre *password_re;
static pcre *ssh_message_re;
+static pcre *sudo_password_re;
static pcre *prompt_re;
static pcre *version_re;
static pcre *feature_libguestfs_rewrite_re;
@@ -140,6 +141,7 @@ compile_regexps (void)
COMPILE (password_re, "password:", 0);
COMPILE (ssh_message_re, "(ssh: .*)", 0);
+ COMPILE (sudo_password_re, "sudo: a password is required", 0);
/* The magic synchronization strings all match this expression. Se...
2018 Jun 12
2
[PATCH] p2v: Allow virt-v2v input and output drivers containing '-' (RHBZ#1590220).
...uld appear
in the list of output drivers.
Thanks: Ming Xie.
---
p2v/ssh.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/p2v/ssh.c b/p2v/ssh.c
index d2699fffd..2fcf0ef3e 100644
--- a/p2v/ssh.c
+++ b/p2v/ssh.c
@@ -181,8 +181,8 @@ compile_regexps (void)
0);
COMPILE (feature_libguestfs_rewrite_re, "libguestfs-rewrite", 0);
COMPILE (feature_colours_option_re, "colours-option", 0);
- COMPILE (feature_input_re, "input:((?:\\w)*)", 0);
- COMPILE (feature_output_re, "output:((?:\\w)*)", 0);
+ COMPILE (feature_input_re, "input:((?:[-\\w])*)"...
2018 Jun 12
1
Re: [PATCH] p2v: Allow virt-v2v input and output drivers containing '-' (RHBZ#1590220).
...> 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/p2v/ssh.c b/p2v/ssh.c
> > index d2699fffd..2fcf0ef3e 100644
> > --- a/p2v/ssh.c
> > +++ b/p2v/ssh.c
> > @@ -181,8 +181,8 @@ compile_regexps (void)
> > 0);
> > COMPILE (feature_libguestfs_rewrite_re, "libguestfs-rewrite", 0);
> > COMPILE (feature_colours_option_re, "colours-option", 0);
> > - COMPILE (feature_input_re, "input:((?:\\w)*)", 0);
> > - COMPILE (feature_output_re, "output:((?:\\w)*)", 0);
> > + COMPILE (feature_i...
2018 Jun 12
0
Re: [PATCH] p2v: Allow virt-v2v input and output drivers containing '-' (RHBZ#1590220).
...Xie.
> ---
> p2v/ssh.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/p2v/ssh.c b/p2v/ssh.c
> index d2699fffd..2fcf0ef3e 100644
> --- a/p2v/ssh.c
> +++ b/p2v/ssh.c
> @@ -181,8 +181,8 @@ compile_regexps (void)
> 0);
> COMPILE (feature_libguestfs_rewrite_re, "libguestfs-rewrite", 0);
> COMPILE (feature_colours_option_re, "colours-option", 0);
> - COMPILE (feature_input_re, "input:((?:\\w)*)", 0);
> - COMPILE (feature_output_re, "output:((?:\\w)*)", 0);
> + COMPILE (feature_input_re, "input...
2018 Jun 21
0
[PATCH v2] p2v: Allow virt-v2v input and output drivers containing '-' (RHBZ#1590220).
...Xie.
---
p2v/ssh.c | 7 +++++--
v2v/modules_list.ml | 11 +++++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/p2v/ssh.c b/p2v/ssh.c
index d2699fffd..15f53b692 100644
--- a/p2v/ssh.c
+++ b/p2v/ssh.c
@@ -181,8 +181,11 @@ compile_regexps (void)
0);
COMPILE (feature_libguestfs_rewrite_re, "libguestfs-rewrite", 0);
COMPILE (feature_colours_option_re, "colours-option", 0);
- COMPILE (feature_input_re, "input:((?:\\w)*)", 0);
- COMPILE (feature_output_re, "output:((?:\\w)*)", 0);
+ /* The input and output regexps must match the same patter...
2018 Jun 21
2
p2v: Allow virt-v2v input and output drivers containing '-' (RHBZ#1590220).
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-June/msg00047.html
v1 -> v2:
- Add a regular expression in the virt-v2v modules code too.
- - -
I was planning a much more ambitious second version of this
patch (half written too) which had:
virt-v2v --describe-modules
that listed a big chunk of XML which virt-p2v would parse. These
would include the names of the
2016 Jun 18
8
[PATCH 0/7] p2v: Multiple improvements to the look of virt-p2v.
In the run dialog, I have implemented an ANSI colour escape sequence
interpreter, so that colours displayed by the remote virt-v2v are now
shown to the user.
(https://bugzilla.redhat.com/show_bug.cgi?id=1314244)
This requires virt-v2v to send colours. It wasn't doing that because
the output was a pipe (as we capture the output into the log file).
So I added a global --colours option to make
2014 Oct 23
17
[PATCH 00/16] Small bits of non-Linux porting
Hi,
from time to time, there have been requests (or attempts, like the
mingw port posted on the list some months ago) to make libguestfs work
on OSes different than Linux. Of course this would imply using a fixed
appliance, since it is currently heavily dependent on Linux.
The attached series provides some easy changes in this direction,
resolving some of the easy issues found in porting to
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is
time to remove it from libguestfs.
[1] https://github.com/libguestfs/virt-p2v
[2] http://download.libguestfs.org/virt-p2v/
Pino Toscano (2):
Remove virt-p2v
Remove remaining virt-p2v bits
.gitignore | 4 -
Makefile.am | 7 +-
bash/Makefile.am