mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 11:25:20 +00:00
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 <muislam@microsoft.com>
This commit is contained in:
parent
0fcbcea275
commit
617b568f71
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user