Update using_ubuntu_as_sos.rst

This commit is contained in:
coneypo 2018-11-27 10:07:34 +08:00 committed by David Kinder
parent 65f21a77e2
commit e4941b2225

View File

@ -12,7 +12,7 @@ In the following instructions we'll build on material in the
Install Ubuntu (natively) Install Ubuntu (natively)
************************* *************************
Ubuntu 18.04.1 LTS was used throughout this document, other versions such as Ubuntu 18.04.1 LTS was used throughout this document, other older versions such as
16.04 works too. 16.04 works too.
* Download Ubuntu 18.04 from the `Ubuntu 18.04.1 LTS (Bionic Beaver) page * Download Ubuntu 18.04 from the `Ubuntu 18.04.1 LTS (Bionic Beaver) page
@ -44,21 +44,21 @@ Install development tools for ARCN development:
.. code-block:: none .. code-block:: none
sudo apt install gcc \ sudo apt install gcc
git \ git
make \ make
gnu-efi \ gnu-efi
libssl-dev \ libssl-dev
libpciaccess-dev \ libpciaccess-dev
uuid-dev \ uuid-dev
libsystemd-dev \ libsystemd-dev
libevent-dev \ libevent-dev
libxml2-dev \ libxml2-dev
libusb-1.0-0-dev \ libusb-1.0-0-dev
python3 \ python3
python3-pip \ python3-pip
libblkid-dev \ libblkid-dev
e2fslibs-dev \ e2fslibs-dev
sudo pip3 install kconfiglib sudo pip3 install kconfiglib
.. note:: .. note::
@ -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