Bug 1579047 - virt-builder: ubuntu-18.04 template has stray HTTP proxy configured for apt
Summary: virt-builder: ubuntu-18.04 template has stray HTTP proxy configured for apt
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-16 21:13 UTC by Lars Seipel
Modified: 2018-05-21 09:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-21 09:13:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Lars Seipel 2018-05-16 21:13:56 UTC
Description of problem:
The ubuntu-18.04 template from the preconfigured repo at libguestfs.org has configured apt to use a caching proxy that is not available to most users of virt-builder.

/etc/apt/apt.conf:
Acquire::http::Proxy "http://cache.home.annexia.org:3128";

Without manually clearing that file, all commands that rely on apt being able to reach remote repositories (install, update, etc.), will fail.


Steps to Reproduce:
1. run 'virt-builder --install libguestfs0 ubuntu-18.04' (or similar)

Actual results:
Could not resolve 'cache.home.annexia.org'

Expected results:
Image is built successfully, and includes the nice library the user wanted to install.

Respinning the template seems appropriate.

Comment 1 Richard W.M. Jones 2018-05-16 21:32:39 UTC
Ooops, that's my proxy :-(

I'll fix this in the next build, hopefully tomorrow.  In the meantime
you can delete the offending file or line using --delete or --edit.

Comment 2 Richard W.M. Jones 2018-05-21 09:13:41 UTC
This is fixed in revision 2 of the image which has just been uploaded.


Note You need to log in before you can comment on or make changes to this bug.