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 them
By '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 win
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. 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
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.
participants (2)
-
Richard W.M. Jones -
Ryan Sawhill