mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-11 13:03:15 +00:00
Update using_ubuntu_as_sos.rst
This commit is contained in:
parent
1afb0f13c4
commit
50f1783200
@ -345,8 +345,8 @@ script example shows how to set this up (verified in Ubuntu 16.04 and 18.04 as t
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
# !/bin/bash
|
#!/bin/bash
|
||||||
# setup bridge for uos network
|
#setup bridge for uos network
|
||||||
br=$(brctl show | grep acrn-br0)
|
br=$(brctl show | grep acrn-br0)
|
||||||
br=${br-:0:6}
|
br=${br-:0:6}
|
||||||
ip tuntap add dev acrn_tap0 mode tap
|
ip tuntap add dev acrn_tap0 mode tap
|
||||||
@ -355,7 +355,7 @@ script example shows how to set this up (verified in Ubuntu 16.04 and 18.04 as t
|
|||||||
|
|
||||||
# if bridge not existed
|
# if bridge not existed
|
||||||
if [ "$br"x != "acrn-br0"x ]; then
|
if [ "$br"x != "acrn-br0"x ]; then
|
||||||
# setup bridge for uos network
|
#setup bridge for uos network
|
||||||
brctl addbr acrn-br0
|
brctl addbr acrn-br0
|
||||||
brctl addif acrn-br0 enp3s0
|
brctl addif acrn-br0 enp3s0
|
||||||
ifconfig enp3s0 0
|
ifconfig enp3s0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user