From 617b568f71a50d19d8e9a5d1ff03611c26eae4c4 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Wed, 5 Jan 2022 16:54:47 -0800 Subject: [PATCH] README: Remove --rng option from command to launch a guest Current command to run cloud-hypervisor binary has wrong --rng argument in the README file. This commit fixes all the references of --rng argument by removing the --rng option to use default. Signed-off-by: Muminul Islam --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index fcfc3889a..5f0890ef6 100644 --- a/README.md +++ b/README.md @@ -167,8 +167,7 @@ $ ./cloud-hypervisor/target/release/cloud-hypervisor \ --disk path=focal-server-cloudimg-amd64.raw \ --cpus boot=4 \ --memory size=1024M \ - --net "tap=,mac=,ip=,mask=" \ - --rng + --net "tap=,mac=,ip=,mask=" $ popd ``` @@ -222,8 +221,7 @@ $ ./cloud-hypervisor/target/release/cloud-hypervisor \ --cmdline "console=hvc0 root=/dev/vda1 rw" \ --cpus boot=4 \ --memory size=1024M \ - --net "tap=,mac=,ip=,mask=" \ - --rng + --net "tap=,mac=,ip=,mask=" ``` The above example use the `virtio-console` device as the guest console, and this @@ -242,8 +240,7 @@ $ ./cloud-hypervisor/target/release/cloud-hypervisor \ --cmdline "console=ttyS0 root=/dev/vda1 rw" \ --cpus boot=4 \ --memory size=1024M \ - --net "tap=,mac=,ip=,mask=" \ - --rng + --net "tap=,mac=,ip=,mask=" ``` # 3. Status