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

Add alpine-image template #2360

Merged
merged 3 commits into from
May 25, 2024
Merged

Conversation

jandubois
Copy link
Member

@jandubois jandubois commented May 25, 2024

It uses the official Alpine cloud images instead of the alpine-lima ISO.

Ideally this template should be called alpine and the existing one alpine-iso, but that is going to break backwards compatibility.

@lima-vm/maintainers Should we leave things as-is, or should I make a copy of alpine to alpine-iso, and then add a message to the alpine template that tells users to switch to using the alpine-iso name because at some time in the future alpine may become a symlink to alpine-image?

I've only done cursory testing on this template, but it starts up fine on x86_64 and aarch64.

The PR should be reviewed while ignoring white-space changes; the first commit is just reducing indentation levels in 04-persistent-data-volume.sh.

See also #2346 and #2359

There is no point in creating the mnt.sh script if it is never called.

Most of the diff is just whitespace changes because the indentation
level of most of the file has been reduced.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
Because the cloud images only come with `doas`.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
It uses the official Alpine cloud images instead of the alpine-lima ISO.

Signed-off-by: Jan Dubois <jan.dubois@suse.com>
@AkihiroSuda
Copy link
Member

We can just have a breaking change when we release v1.0 with VZ as default

@jandubois jandubois marked this pull request as ready for review May 25, 2024 05:17
@jandubois jandubois added this to the v0.23.0 (tentative) milestone May 25, 2024
@jandubois jandubois merged commit a8b2f4d into lima-vm:master May 25, 2024
27 checks passed
@jandubois jandubois deleted the alpine-image branch May 25, 2024 05:22
examples/alpine-image.yaml Show resolved Hide resolved
examples/alpine-image.yaml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants