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

README.md: Fix typo and update kraft run #25

Merged
merged 1 commit into from
Dec 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,16 @@ kraft build --arch x86_64 --plat qemu
Once built, you can instantiate the unikernel via:

```console
kraft run
tar xvf rootfs.tar.gz -C rootfs/
kraft run --initrd rootfs/ -M 256M
```

When left without any input flags, you'll be queried for the desired target architecture/platform.

If you are running on a virtual machine, or a system without KVM support, disable hardware acceleration by using the `-W` command line flag:

```console
kraft run -W
kraft run -W --initrd rootfs/ -M 256M
```

This starts a Python3 console in a virtual machine.
Expand All @@ -53,7 +54,7 @@ For building and running everything for `x86_64`, follow the steps below:
```console
git clone https://github.com/unikraft/app-python3 python3
cd python3/
./script/setup.sh
./scripts/setup.sh
wget https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py -O scripts/generate.py
chmod a+x scripts/generate.py
./scripts/generate.py
Expand Down