update documentation for acrnbridge

This update is to reflect the changes for acrnbridge to start
with systemd-networkd instead of running a script.

Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
This commit is contained in:
Tan Shen Joon 2018-06-11 16:22:19 +08:00 committed by David Kinder
parent 9a56024b49
commit aead61f2fb

View File

@ -249,30 +249,13 @@ partition. Follow these steps:
#. From here you can login as root using the password you set previously when #. From here you can login as root using the password you set previously when
you installed Clear Linux. you installed Clear Linux.
Create a Network Bridge ACRN Network Bridge
======================= ===================
Without a network bridge, the SOS and UOS are not able to talk to each ACRN bridge has been setup as a part of systemd services for device communication. The default
other. bridge creates ``acrn_br0`` which is the bridge and ``acrn_tap0`` as an initial setup. The files can be
found in ``/usr/lib/systemd/network``. No additional setup is needed since systemd-networkd is
A sample `bridge.sh automatically enabled after a system restart.
<https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/master/devicemodel/samples/nuc/bridge.sh>`__
is included in the Clear Linux release, and
is also available in the acrn-hypervisor/devicemodel GitHub repo (in the samples
folder) as shown here:
.. literalinclude:: ../../devicemodel/samples/nuc/bridge.sh
:caption: devicemodel/samples/nuc/bridge.sh
:language: bash
By default, the script is located in the ``/usr/share/acrn/samples/nuc/``
directory. Run it to create a network bridge:
.. code-block:: none
# cd /usr/share/acrn/samples/nuc/
# ./bridge.sh
# cd
Set up Reference UOS Set up Reference UOS
==================== ====================