-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support offline creation of machine instance #1422
Comments
Maybe these could be integrated into the
I want to be able to create a cache using a template, and then re-use (only) that offline. An alternative would be to just mount the lists and archives, but that is a bigger download.
It seems like |
Importing the required commands as a library (to guestagent), might be less bloated....
Like generate-hash and install-packages, something like that. More for cache* and downloader. * i.e. it needs some code to translate back and forth between the different cache formats |
There was a surprisingly large number of packages installed for ubuntu, including a new kernel.
The package list for fedora (as used by podman), had a more expected content (from requirements)
|
Somewhat related to non-packages, as well: Currently it only supports "nerdctl-full" archives. Starting kubernetes (k3s/k8s) also requires images:
|
Doing a proof-of-concept using a regular HTTP proxy, for packages and for images. It is opt-in, and only provides $ http_proxy=host.lima.internal:56778 curl http://example.com
$ https_proxy=host.lima.internal:56778 curl --cacert proxy.crt --head https://example.com
|
Description
Currently the baseimage and the nerdctl-full can be cached, so that they don't have to be downloaded.
But then there are still some packages missing, which means that the machine needs Internet access.
It would be nice if there was a way to cache also these files, perhaps using something like repro-get ?
So that one could start up an instance without external network, after making sure everything is cached.
These are cached:
But these are not:
The text was updated successfully, but these errors were encountered: