mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-05 13:05:45 +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 \
|
--disk path=focal-server-cloudimg-amd64.raw \
|
||||||
--cpus boot=4 \
|
--cpus boot=4 \
|
||||||
--memory size=1024M \
|
--memory size=1024M \
|
||||||
--net "tap=,mac=,ip=,mask=" \
|
--net "tap=,mac=,ip=,mask="
|
||||||
--rng
|
|
||||||
$ popd
|
$ popd
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -222,8 +221,7 @@ $ ./cloud-hypervisor/target/release/cloud-hypervisor \
|
|||||||
--cmdline "console=hvc0 root=/dev/vda1 rw" \
|
--cmdline "console=hvc0 root=/dev/vda1 rw" \
|
||||||
--cpus boot=4 \
|
--cpus boot=4 \
|
||||||
--memory size=1024M \
|
--memory size=1024M \
|
||||||
--net "tap=,mac=,ip=,mask=" \
|
--net "tap=,mac=,ip=,mask="
|
||||||
--rng
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The above example use the `virtio-console` device as the guest console, and this
|
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" \
|
--cmdline "console=ttyS0 root=/dev/vda1 rw" \
|
||||||
--cpus boot=4 \
|
--cpus boot=4 \
|
||||||
--memory size=1024M \
|
--memory size=1024M \
|
||||||
--net "tap=,mac=,ip=,mask=" \
|
--net "tap=,mac=,ip=,mask="
|
||||||
--rng
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# 3. Status
|
# 3. Status
|
||||||
|
Loading…
Reference in New Issue
Block a user