$ dpkg -l | grep libguestfs
ii libguestfs-hfsplus:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - HFS+ support
ii libguestfs-perl 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - Perl bindings
ii libguestfs-reiserfs:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - ReiserFS support
ii libguestfs-tools 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - tools
ii libguestfs-xfs:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - XFS support
ii libguestfs0:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - shared library
[VERIFICATION XENIAL]
Now configures network without a problem.
$ dpkg -l | grep libguestfs hfsplus: amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - HFS+ support reiserfs: amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - ReiserFS support xfs:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - XFS support
ii libguestfs-
ii libguestfs-perl 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - Perl bindings
ii libguestfs-
ii libguestfs-tools 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - tools
ii libguestfs-
ii libguestfs0:amd64 1:1.32.2-4ubuntu2.2 amd64 guest disk image management system - shared library
$ sudo guestfish -a xenial- server- cloudimg- amd64-disk1. img --network -v << EOF etc/2j272z4v to /sysroot/ etc/resolv. conf archive. ubuntu. com/ubuntu xenial InRelease archive. ubuntu. com/ubuntu xenial-updates InRelease [109 kB] archive. ubuntu. com/ubuntu xenial-backports InRelease [107 kB] security. ubuntu. com/ubuntu xenial-security InRelease [109 kB] archive. ubuntu. com/ubuntu xenial/universe amd64 Packages [7532 kB] archive. ubuntu. com/ubuntu xenial/universe Translation-en [4354 kB] archive. ubuntu. com/ubuntu xenial/multiverse amd64 Packages [144 kB] archive. ubuntu. com/ubuntu xenial/multiverse Translation-en [106 kB] archive. ubuntu. com/ubuntu xenial-updates/main amd64 Packages [912 kB] archive. ubuntu. com/ubuntu xenial- updates/ universe amd64 Packages [728 kB] archive. ubuntu. com/ubuntu xenial- updates/ universe Translation-en [301 kB] archive. ubuntu. com/ubuntu xenial- updates/ multiverse amd64 Packages [16.6 kB] archive. ubuntu. com/ubuntu xenial- updates/ multiverse Translation-en [8440 B] archive. ubuntu. com/ubuntu xenial- backports/ main amd64 Packages [7280 B] archive. ubuntu. com/ubuntu xenial- backports/ main Translation-en [4456 B] archive. ubuntu. com/ubuntu xenial- backports/ universe amd64 Packages [7804 B] archive. ubuntu. com/ubuntu xenial- backports/ universe Translation-en [4184 B] security. ubuntu. com/ubuntu xenial- security/ universe amd64 Packages [425 kB] security. ubuntu. com/ubuntu xenial- security/ universe Translation-en [171 kB] security. ubuntu. com/ubuntu xenial- security/ multiverse amd64 Packages [5600 B] security. ubuntu. com/ubuntu xenial- security/ multiverse Translation-en [2676 B]
> run
> mount /dev/sda1 /
> command 'apt update'
> EOF
libguestfs: launch: program=guestfish
libguestfs: launch: version=1.32.2
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
...
commandrvf: apt update
...
renaming /sysroot/
Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Fetched 15.1 MB in 21s (714 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
...