Richard W.M. Jones
2015-Dec-29 18:00 UTC
Re: [Libguestfs] [libguestfs] RFE: virt-builder new option (--offline maybe) to allow running only from cache (#21)
On Mon, Dec 28, 2015 at 04:50:47PM -0800, Ryan Sawhill Aroha wrote:> I love virt-builder It's great > > However, I don't always have internet access Further, some of my > repos are on private networks and I'm don't always have the > appropriate VPN established to see themBy 'repo' do you mean a virt-builder repo or a repo used for installing packages (eg. a yum/apt repo)? For the latter, the --attach option might be useful. For the former, we should have a way to skip repos or DTRT without the network being available. Pino - what do you think?> I wish virt-builder had an option that would skip checking in with > your remote repos and only use cache I think that would be a huge > winIIRC, currently if a *template* exists in the cache, then it won't download it. However that doesn't help if the repo is inaccessible. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Ryan Sawhill
2015-Dec-29 21:03 UTC
Re: [Libguestfs] [libguestfs] RFE: virt-builder new option (--offline maybe) to allow running only from cache (#21)
On Tue, Dec 29, 2015 at 1:00 PM, Richard W.M. Jones <rjones@redhat.com> wrote:> On Mon, Dec 28, 2015 at 04:50:47PM -0800, Ryan Sawhill Aroha wrote: > > I love virt-builder It's great > > > > However, I don't always have internet access Further, some of my > > repos are on private networks and I'm don't always have the > > appropriate VPN established to see them > > By 'repo' do you mean a virt-builder repo or a repo used for > installing packages (eg. a yum/apt repo)? > >I'm talking about virt-builder repos of course.> IIRC, currently if a *template* exists in the cache, then it won't > download it. However that doesn't help if the repo is inaccessible. >Exactly. For situations where I *know* I'm not going to be able to reach a repo, it would be nice to just tell virt-builder to use the currently-cached repo-def and templates.
Seemingly Similar Threads
- Re: RFE: virt-builder ability to print definition for single template (new option or expand --notes) (#20)
- Re: RFE: virt-builder ability to print definition for single template (new option or expand --notes) (#20)
- Re: RFE: virt-builder option to auto-detect image format (#19)
- [PATCH v4] [RFE] virt-builder should support download resume
- [PATCH v3] [RFE] virt-builder should support download resume