similar to: Re: virt-customize networking question

Displaying 20 results from an estimated 50000 matches similar to: "Re: virt-customize networking question"

2017 Nov 24
0
Re: virt-customize networking question
On Fri, Nov 24, 2017 at 08:23:46AM +0000, ANDRES POZO MUNOZ wrote: > Hi Richard, > > Thank you very much for your response. > > Here’s the output of the guestfish command. This does look a lot like https://bugzilla.redhat.com/show_bug.cgi?id=1503507 I'm afraid I haven't had time to really analyze this bug. However you should be able to work around it by setting the
2017 Nov 23
0
Re: virt-customize networking question
On Thu, Nov 23, 2017 at 06:26:37PM +0000, ANDRES POZO MUNOZ wrote: > Hi, > > A quick question about a problem I’m facing. > > I want to customize some image running a customization script with > virt-customize. > > Everything works fine, except the fact that I don’t have a DHCP > server in the network (virt-customize relies on DHCP to assign the > IP when it boots
2017 Nov 29
1
virt-customize kernel question
Hi, I’m facing some problem trying to install some software in an image with virt-customize. The package I’m trying to install uses some script to check dependencies and verifies the linux-headers-4.xxxxx are installed in the guest system. The problem is that it uses the ‘uname –r’ command to obtain the kernel version, and that command seems to be replying with the host kernel version instead
2018 Sep 19
0
Re: virt-customize is very slow in ubuntu 18.04/centos 7.5
On Wed, Sep 19, 2018 at 10:32:24AM +0200, Gabriele Baldoni wrote: > Sorry for bothering you in this dev mailing list, I'm using libguestfs to > customize some vm using as bases the ubuntu cloud images. > But I noticed that it takes a lot and then fails when trying to install a > packet. > Same behaviour on Ubuntu 18.04 and Centos 7.5 > > Ubuntu: > virt-customize
2015 Oct 23
0
IRC question: How to install a kernel module using virt-customize
21:26 < ibravo> hello. I'm trying to install a kernel module to a VM Image. How can I do this using virt-customize? Please stay in the IRC channel after asking questions! Anyway, the answer depends on the guest and the kernel module. For example if it was a Debian guest and you wanted to install the ZFS dkms package, then following the instructions here:
2015 Mar 13
0
Re: Name resolution not working inside virt-customize
On Fri, Mar 13, 2015 at 09:14:35AM -0400, Lee Revell wrote: > On 03/12/2015 04:35 AM, Richard W.M. Jones wrote: > >>leer@eng-leer:~/libguestfs-1.29.29$ virt-builder fedora-21 > >>--run-command "ping -c 4 172.16.12.200" > >>[ 1.0] Downloading: http://libguestfs.org/download/builder/fedora-21.xz > >>[ 1.0] Planning how to build this image >
2016 Feb 24
0
Re: virt-customize network issue
[Please send all questions to the mailing list] On Tue, Feb 23, 2016 at 08:48:50PM -0600, Brendan Hoffmann wrote: > Hello there, > > I seem to be having some issue using virt-customize to update a virtual > machine. Im using CentOS 7 on the host and guest with the latest packages. Which version exactly? > When I run virt-customize with the update parameter, I get output from
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
Figured it out. The generated script had CRLF line termination. When we have removed the \r from the end if line everything started to work. Thanks for the help. Regards, Peter > On 14 Mar 2017, at 17:00, Richard W.M. Jones <rjones@redhat.com> wrote: > > On Tue, Mar 14, 2017 at 04:46:41PM +0200, Keresztes Péter-Zoltán wrote: >> We are enforcing #!/bin/bash at the beginning
2015 Mar 13
0
Re: Name resolution not working inside virt-customize
On Fri, Mar 13, 2015 at 10:59:15AM -0400, Lee Revell wrote: > On 03/13/2015 09:40 AM, Richard W.M. Jones wrote: > > > >Do you boot and then shut down the image before examining it? > > Sorry, thinko on my part. This did work after all once the image booted. > > Here's a log that shows update not working with the Ubuntu 14.04 host. > > Command tested: >
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Tue, Mar 14, 2017 at 04:46:41PM +0200, Keresztes Péter-Zoltán wrote: > We are enforcing #!/bin/bash at the beginning of the scripts and bash is installed in every guest. No idea in that case. Suggest using guestfish on the guest after virt-customize has run to check that the files are really being installed in the right places and have the right permissions etc. Rich. > Regards,
2015 Mar 12
0
Re: Name resolution not working inside virt-customize
On Wed, Mar 11, 2015 at 03:09:56PM -0400, Lee Revell wrote: > On 03/10/2015 05:12 PM, Richard W.M. Jones wrote: > >Just for comparison, libguestfs 1.29.29 on Fedora host, plus > >virt-builder, with a Fedora guest does this: > > > > libguestfs 1.29.29 on a ubuntu 14.04 host with fedora-21 guest seems > have no functioning network, it cannot ping the host. Is there
2017 Jun 10
1
Re: virt-customize issue/question
On Fri, Jun 09, 2017 at 08:07:57PM -0400, Richard Maloley II wrote: > Richard, > > Hello - I am hoping that you can shed some light on an issue I am > encountering. This could be due to my inexperience with KVM/Libvirtd > and the associated tools. > > Scenario: I am writing a VM deployment script for my home lab. From > my admin workstation I can connect to my KVM host and
2020 Aug 27
1
Re: Virt Customize features from python
On Thu, Aug 27, 2020 at 08:32:35AM -0400, Donny Davis wrote: > Hey Richard, > > I have been playing around with guestfs-python.3 and I am curious if there > is a method to call virt-customize like functions from python. Specifically > I need to install a package into the guest image. There isn't directly, you'd have to either run virt-customize as an external command, or
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Tue, Mar 14, 2017 at 05:58:53PM +0200, Keresztes Péter-Zoltán wrote: > Figured it out. > > The generated script had CRLF line termination. When we have removed the \r from the end if line everything started to work. That's good that you worked this out. Is this something that can be helped and/or fixed in virt-customize do you think? Rich. -- Richard Jones, Virtualization
2015 Mar 13
0
Re: Name resolution not working inside virt-customize
On Fri, Mar 13, 2015 at 11:28:56AM -0400, Lee Revell wrote: > On 03/13/2015 11:13 AM, Richard W.M. Jones wrote: > > > >Yes, the log indicates name resolution not working. Please try the > >diagnosis steps that I outlined in: > > > >https://www.redhat.com/archives/libguestfs/2015-March/msg00075.html > > Sorry, I somehow missed the above message. > > $
2015 Mar 13
0
Re: Name resolution not working inside virt-customize
On Fri, Mar 13, 2015 at 12:58:52PM -0400, Lee Revell wrote: > On 03/13/2015 12:21 PM, Richard W.M. Jones wrote: > >So what's happening is that /etc/resolv.conf in the appliance never > >gets created. > > > > Is the /dev/tcp test by IP evidence that the problem goes deeper > than name resolution? > > >Run `./run virt-rescue --network --scratch' on
2015 Mar 16
0
Re: Name resolution not working inside virt-customize
On Fri, Mar 13, 2015 at 04:59:32PM -0400, Lee Revell wrote: > On 03/13/2015 01:29 PM, Richard W.M. Jones wrote: > > > >I wonder why dhclient doesn't create /etc/resolv.conf . > > > > FWIW, I've also found that on the fedora 21 host, supermin passes > all 8 "make check" tests. On the Ubuntu 14.04 host, it fails 2 of 8. > The log is attached. The
2015 Mar 16
0
Re: Name resolution not working inside virt-customize
[Please keep replies on the list] On Mon, Mar 16, 2015 at 09:28:28AM -0400, Lee Revell wrote: > On 03/16/2015 09:14 AM, Lee Revell wrote: > >>This explains why the network doesn't work and why dhclient doesn't > >>work too. I don't know why virtio-net isn't used -- perhaps it isn't > >>compiled into your host kernel. > > > >
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Tue, Mar 14, 2017 at 03:45:34PM +0200, Keresztes Péter-Zoltán wrote: > I am running libguestfs version 1.34.2 As far as I know, this version should contain all the fixes for Debian firstboot issues, in particular the ones related to https://bugzilla.redhat.com/1019388 > The issue is the following. When I start the vm with virt-log I see this: > > Mar 13 17:33:30 multi6
2015 Mar 10
0
Re: Name resolution not working inside virt-customize
On Tue, Mar 10, 2015 at 04:41:22PM -0400, Lee Revell wrote: > Hi! > > I am trying to use virt-customize to add packages to an image. > However it seems that there is a problem where a resolv.conf is not > being installed and thus package installation fails. > > The command is: > > virt-customize -v -x -a trusty-server-cloudimg-amd64-disk1.img > --run-command