Skip to content
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

Remove implicit download in vm_setup, and add the option to download default image in HostNexus #1597

Merged
merged 2 commits into from
May 15, 2024

Conversation

pykello
Copy link
Contributor

@pykello pykello commented May 14, 2024

Remove image download from vm_setup

DownloadBootImage is now how we manage image downloads, so we can remove implicit image download from here.

See #1526

Add the option to download the default images on host setup

This is mostly a convenience for developers who always provision VMs after setting up a host. Without this, they'll need to manually do an image download after host setup is done. To use this, one needs to do:

> HostNexus.assemble(...., default_boot_images: ["ubuntu-jammy", "github-ubuntu-2204"])

@pykello pykello changed the title Add option to download the default boot image in host setup Add the option to download the default boot image in host setup May 14, 2024
@pykello pykello changed the title Add the option to download the default boot image in host setup Remove implicit download in vm_setup, and the option to download default image in HostNexus May 14, 2024
@pykello pykello force-pushed the pykello/auto_images branch 2 times, most recently from 7b494ec to a295c14 Compare May 14, 2024 22:56
@pykello pykello changed the title Remove implicit download in vm_setup, and the option to download default image in HostNexus Remove implicit download in vm_setup, and add the option to download default image in HostNexus May 14, 2024
prog/vm/host_nexus.rb Outdated Show resolved Hide resolved
prog/vm/host_nexus.rb Outdated Show resolved Hide resolved
This is mostly a convenience for developers who always provision VMs
after setting up a host. Without this, they'll need to manually do an
image download after host setup is done. To use this, one needs to do:

```
> HostNexus.assemble(....,
      default_boot_images: ["ubuntu-jammy", "github-ubuntu-2204"])
```
DownloadBootImage is now how we manage image downloads, so we can remove
implicit image download from here.

See commit 8c6c6af (Download & use
versioned images) [1]

[1] #1526
@pykello pykello merged commit 472f39c into main May 15, 2024
7 checks passed
@pykello pykello deleted the pykello/auto_images branch May 15, 2024 17:39
@github-actions github-actions bot locked and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants