From 0b79b45486b62211e77882d2c7c09ce5333e65bd Mon Sep 17 00:00:00 2001 From: Gabriel Pitic Date: Sun, 22 Oct 2023 00:19:09 +0300 Subject: [PATCH] README.md: Fix typo and update kraft run Signed-off-by: Gabriel Pitic --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82b4479..cf75180 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ 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. @@ -36,7 +37,7 @@ When left without any input flags, you'll be queried for the desired target arch 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. @@ -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