[fix] README's cosmetic

This commit is contained in:
alban 2020-09-24 15:03:49 +02:00
parent 1ac13b27f3
commit eb7c0e395c

View File

@ -122,7 +122,7 @@ But the VM will not be able to exchange data on LAN.
Here is the documentation on how to setup a bridge interface on your machine. Here is the documentation on how to setup a bridge interface on your machine.
It is a bit complex, but follow the instructions and it should be fine... It is a bit complex, but follow the instructions and it should be fine...
#### kvm:bridge 0. First some variables / names we will use ### kvm:bridge 0. First some variables / names we will use
``` ```
# 0. Names / concepts # 0. Names / concepts
HOST The name used to define your laptop (or any other machine running qemu) HOST The name used to define your laptop (or any other machine running qemu)
@ -144,7 +144,7 @@ export IP_RANGE=/24
export SU='sudo ' export SU='sudo '
``` ```
#### kvm:bridge 1. Configuring HOST network interfaces ### kvm:bridge 1. Configuring HOST network interfaces
``` ```
# 1. Configure HOST: set up bridge over HOST_IF # 1. Configure HOST: set up bridge over HOST_IF
@ -165,7 +165,7 @@ $SU sysctl net.ipv4.ip_forward=1
$SU ip address show dev ${HOST_IF} | grep global || echo -e "\n\e[31mOops.... Remove all IP addresses from ${HOST_IF}! Use:\e[0m\n\n$SU ip address del (address/range shown above) dev ${HOST_IF}" $SU ip address show dev ${HOST_IF} | grep global || echo -e "\n\e[31mOops.... Remove all IP addresses from ${HOST_IF}! Use:\e[0m\n\n$SU ip address del (address/range shown above) dev ${HOST_IF}"
``` ```
#### kvm:bridge 2. Booting the VM ### kvm:bridge 2. Booting the VM
Notice how the `net` model changed: we have a MAC address and use the `tap` interface to exchange network packets. Notice how the `net` model changed: we have a MAC address and use the `tap` interface to exchange network packets.
``` ```