Displaying 20 results from an estimated 20000 matches similar to: "Help: Can I access network inside libguestfs?"
2016 Jul 12
4
Re: Help: Can I access network inside libguestfs?
Thanks Pino for quick response.
Actually I use the libguestfs APIs in C++ program. Following your idea, I
think I should try guestfs_set_network for this.
Please correct me if I have any misunderstanding.
Thanks,
Allen
2016-07-12 16:38 GMT+08:00 Pino Toscano <ptoscano@redhat.com>:
> Hi,
>
> On Tuesday, 12 July 2016 16:30:17 CEST Baochuan Wu wrote:
> > I mounted virtual
2016 Jul 14
1
Re: Help: Can I access network inside libguestfs?
Thanks Richard. I followed your guide and it works for me.
Thanks,
Allen
2016-07-13 17:04 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> [Let's keep the replies on the mailing list please]
>
> On Wed, Jul 13, 2016 at 11:04:13AM +0800, Baochuan Wu wrote:
> > Thanks Richard.
> > I tried guestfs_set_network, and I think I can successfully use yum -y to
> >
2016 Aug 29
2
Re: guestfs_launch gets stuck
Thanks Rich.
I have used libguestfs for several month. It worked perfectly before, the
issue appears recently. I am trying guestfs_set_backend (g, "direct").
Thanks,
Allen
2016-08-29 23:31 GMT+08:00 Richard W.M. Jones <rjones@redhat.com>:
> On Mon, Aug 29, 2016 at 11:19:04PM +0800, Baochuan Wu wrote:
> > Thanks Rich for you quick reply. I enabled logs and the program
2020 Aug 12
10
[PATCH 0/9] Adaptations to Weblate
We are migrating to Weblate (the Fedora instance, in particular) for
translations instead of Zanata. Adapt our tooling a bit to the different
workflow:
- Weblate takes care of updating the po files whenever a new translation
catalog is available, so stop doing that on our own: this meant also
tweaking the po4a usage for POD documentations, resulting in simpler
rules (IMHO)
- ensure that the
2019 Nov 29
1
Re: Continuing the split (was: Let's split up the libguestfs git repo and tarballs)
On Fri, Nov 29, 2019 at 12:09:47PM +0000, Richard W.M. Jones wrote:
> So, the difficulty of git submodules aside, we have now split off
> virt-v2v and virt-p2v into separate projects.
>
> I also yesterday split off the boot analysis tools into a repo which
> is likely to be rarely used and which I'll probably not bother to
> package in Fedora.
>
2016 Jul 13
0
Re: Help: Can I access network inside libguestfs?
[Let's keep the replies on the mailing list please]
On Wed, Jul 13, 2016 at 11:04:13AM +0800, Baochuan Wu wrote:
> Thanks Richard.
> I tried guestfs_set_network, and I think I can successfully use yum -y to
> install software. It is a little slow.
Most of the time is taken running yum and downloading packages ...
> My program operates CentOS 6.4 VM virtual disks on CentOS 7, I
2015 Jun 30
5
Plan for libguestfs 1.30
It has been a ludicrously long time (over 8 months) since the last
stable release of libguestfs. So I'd like to plan a new 1.30 release
soon.
Please follow-up if there are features / blockers / bugs that need to
be addressed for 1.30.
As usual, bugs which have "1.30" (without quotes) in the Devel
Whiteboard field in Bugzilla are nominated as blockers for the
release. You can see
2017 Feb 17
2
[PATCH 1/2] dib: preserve xattrs and SELinux attributes when exporting as tar
When extracting the content of the guest as tar, save also the extended
attributes and the SELinux attributes. This makes sure guests exported
as tar, tgz, and as docker image will work fine afterwards.
This is what disk-image-create does as well.
---
dib/output_format_docker.ml | 3 ++-
dib/output_format_tar.ml | 3 ++-
dib/output_format_tgz.ml | 4 ++--
3 files changed, 6 insertions(+),
2019 Jul 02
3
Re: 1.39 proposal: Let's split up the libguestfs git repo and tarballs
On Tue, Jul 02, 2019 at 09:32:26AM +0200, Pino Toscano wrote:
> On Monday, 1 July 2019 22:47:32 CEST Richard W.M. Jones wrote:
> > > > Does this mean we need to move immediately to a submodule if just
> > > > splitting virt-p2v, or copy code as you suggest? Maybe not, because
> > > > you can imagine for just this project copying the code needed from the
>
2016 Jul 12
0
Re: Help: Can I access network inside libguestfs?
On Tue, Jul 12, 2016 at 04:48:06PM +0800, Baochuan Wu wrote:
> Thanks Pino for quick response.
> Actually I use the libguestfs APIs in C++ program. Following your idea, I
> think I should try guestfs_set_network for this.
Yes this is correct. Calling:
guestfs_set_network (g, 1);
should enable the network inside the appliance.
For further tips on using yum, have a look at how
2016 Jul 12
0
Re: Help: Can I access network inside libguestfs?
Hi,
On Tuesday, 12 July 2016 16:30:17 CEST Baochuan Wu wrote:
> I mounted virtual disks of CentOS 6.4 using libguestfs. After mounting, I
> tried to install some software using yum command. The yum command failed
> because of DNS failure, I think I correctly configured DNS(/etc/resolv.conf
> in the CentOS virtual disk).
>
> I wonder is it possible to access network inside
2016 Apr 07
2
Help: Is it possible to use libguestfs in Xen guest OS
Hi All,
I installed CentOS 7 as Xen Guest OS(DomU OS), I wonder if it is possible
to use libguestfs in this CentOS 7 VM? libguestfs-test-tools reports error:
*-bash-4.2# libguestfs-test-tool *
************************************************************
* IMPORTANT NOTICE
*
* When reporting bugs, include the COMPLETE, UNEDITED
* output below in your
2017 Feb 14
14
[PATCH 00/10] dib/API: improvements and fixes
Hi,
this patch series does changes mostly in virt-dib, few bug fixes and
a couple of new features (mostly implemented upstream already).
In addition, one new API is added, and a new optional argument for an
existing API is added (the latter is not needed, but could be useful
anyway).
Thanks,
Pino Toscano (10):
dib: fix listing envvars in fake-sudo
dib: source dib "die" script in
2016 Jul 14
10
[PATCH v2 0/7] Fix SELinux
v1 -> v2:
- Add simple test of the setfiles API.
- Use SELinux_relabel module in virt-v2v (instead of touch /.autorelabel).
- Small fixes.
Rich.
2016 Aug 25
7
[PATCH 0/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
This implements most of RHBZ#1367738. I didn't bother
with virt-v2v-copy-to-local and virt-win-reg, but all the
other tools now have full bash completion.
Rich.
2017 Mar 22
2
Re: [PATCH 4/5] dib: require a Python interpreter
On Wed, Mar 22, 2017 at 11:19:49AM +0100, Pino Toscano wrote:
> if elements = [] && machine_readable then (
> @@ -246,6 +252,19 @@ read the man page virt-dib(1).
> if elements = [] then
> error (f_"at least one distribution root element must be specified");
>
> + let python =
> + match python with
> + | Some exe ->
> + let p
2015 Aug 04
2
[PATCH] automake: Admit defeat and use 'subdir-objects'.
Because this 'feature' is broken (since 2013):
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928
we have to replace all instances of $(top_srcdir) in *_SOURCES lines
with a relative path. According to what I read, this shouldn't break
split builds, but I didn't test it.
The only things automake moans about now are:
* Unescaped left brace in regex is deprecated, passed
2016 Apr 21
2
[PATCH 1/2] sparsify: Refactor handling of checks of copying mode / --in-place.
Just refactoring, no change.
---
sparsify/cmdline.ml | 49 +++++++++++++++++++++++--------------------------
1 file changed, 23 insertions(+), 26 deletions(-)
diff --git a/sparsify/cmdline.ml b/sparsify/cmdline.ml
index ce2b913..bd49e71 100644
--- a/sparsify/cmdline.ml
+++ b/sparsify/cmdline.ml
@@ -98,6 +98,7 @@ read the man page virt-sparsify(1).
let check_tmpdir = !check_tmpdir in
let
2016 Aug 29
2
Re: guestfs_launch gets stuck
Thanks Rich for you quick reply. I enabled logs and the program stuck
again, here is the call stack and log:
Thread 1 (Thread 0x7fac58edc8c0 (LWP 1271)):
#0 0x00007fac578fac20 in __poll_nocancel () from /lib64/libc.so.6
#1 0x00007fac56df3c5a in virNetClientIOEventLoop () from
/lib64/libvirt.so.0
#2 0x00007fac56df441b in virNetClientSendInternal () from
/lib64/libvirt.so.0
#3 0x00007fac56df5843
2017 Mar 22
7
[PATCH 0/5] dib: initial work to support d-i-b 2.0
Hi,
this series start to implement some of the changes needed to support
d-i-b 2.0; normal VM distro builds seem to work correctly, ramdisk
builds are still broken and require more efforts.
Thanks,
Pino Toscano (5):
dib: implement get_image_element_array stuff
dib: export IMAGE_BLOCK_DEVICE_WITHOUT_PART
dib: extract get_required_tool out of require_tool
dib: require a Python interpreter