Skip to content

Update kernel install UX - #22

Merged
adityaramani merged 2 commits into
mainfrom
users/a_ramani/install-ux
Jun 6, 2025
Merged

adityaramani merged 2 commits into
mainfrom
users/a_ramani/install-ux

Conversation

@adityaramani

Copy link
Copy Markdown
Contributor

This change updates the UX when we install required dependencies at first launch

Fresh install - respond y to prompt

➜ bin/container system start
Verifying apiserver is running...
Installing base container filesystem...
No default kernel configured.
Install the recommended default kernel from [https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: y
Installing kernel...

Fresh install - respond n to prompt and then run the provided command

➜ bin/container system start
Verifying apiserver is running...
Installing base container filesystem...
No default kernel configured.
Install the recommended default kernel from [https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: n
Please use the `container system kernel set --recommended` command to configure the default kernel

➜ bin/container system kernel set --recommended
Installing the recommended kernel from https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz...

Fresh install - respond n to prompt and then run a container

➜ bin/container system start
Verifying apiserver is running...
Installing base container filesystem...
No default kernel configured.
Install the recommended default kernel from [https://github.com/kata-containers/kata-containers/releases/download/3.17.0/kata-static-3.17.0-arm64.tar.xz]? [Y/n]: n
Please use the `container system kernel set --recommended` command to configure the default kernel

➜ bin/container run alpine uname
Error: notFound: "Default kernel not configured for architecture arm64. Please use the `container system kernel set` command to configure it

Signed-off-by: Aditya Ramani <[email protected]>
@adityaramani
adityaramani force-pushed the users/a_ramani/install-ux branch from 16af4c5 to 3609586 Compare June 6, 2025 00:14
@dkovba
dkovba requested a review from jglogan June 6, 2025 00:41
Signed-off-by: Aditya Ramani <[email protected]>
@mavenugo

mavenugo commented Jun 6, 2025

Copy link
Copy Markdown
Contributor

LGTM

@adityaramani
adityaramani merged commit 007f9a4 into main Jun 6, 2025
@adityaramani
adityaramani deleted the users/a_ramani/install-ux branch June 6, 2025 01:09
@adityaramani adityaramani linked an issue Jun 6, 2025 that may be closed by this pull request
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.

Remove the user prompt for "Initial filesystem"

3 participants