[Libguestfs] Up Guest network

Richard W.M. Jones rjones at redhat.com
Sun Sep 30 10:54:30 UTC 2018


[I don't know - there's not really enough detail here to answer the
question, but maybe someone on the mailing list can help.]

On Sun, Sep 30, 2018 at 11:50:18AM +0300, "Анатолий (ytel2006)" wrote:
> Hello!
> Tell me, please, how can I start the network on the guest machine (inside the virtual server), if necessary, to install or update the software, and this software depends on the real IP address? For example, the ISPManager panel for installation or update, checks the IP address of the server.
> 
> I tried to raise the network by deleting the udev rules for the network and setting the interface settings in / etc / sysconfig / network-scripts / ifcfg-eth0, but the network does not start with an error that the eth0 device is not initialized.
> 
> With the --network option, virt-sysprep and virt-builder raises the network through the hypervisor, and without it, the network does not go up at all, even if all the necessary configs are configured
> 
> those. I need to raise the network interface configured inside the guest system with virt-builder --some-parametrs --update --run-command 'yum install some-pkg'

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list