[Libguestfs] Help: Can I access network inside libguestfs?
Pino Toscano
ptoscano at redhat.com
Tue Jul 12 08:38:03 UTC 2016
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 libguestfs?
By "mounting", do you mean with guestfish? If so, it has a --network
parameter to enable networking for the guest. Other tools have similar
options to enable and disable the networking, and few of them
(virt-customize, virt-builder, and virt-dib) have networking enabled
by default.
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20160712/78a28cdb/attachment.sig>
More information about the Libguestfs
mailing list