From aead61f2fb756e5c1b51b9b13684beac38ae3bd9 Mon Sep 17 00:00:00 2001 From: Tan Shen Joon Date: Mon, 11 Jun 2018 16:22:19 +0800 Subject: [PATCH] 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 --- doc/getting_started/index.rst | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/doc/getting_started/index.rst b/doc/getting_started/index.rst index 87d4097c6..932fdeff7 100644 --- a/doc/getting_started/index.rst +++ b/doc/getting_started/index.rst @@ -249,30 +249,13 @@ partition. Follow these steps: #. From here you can login as root using the password you set previously when 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 -other. - -A sample `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 +ACRN bridge has been setup as a part of systemd services for device communication. The default +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 +automatically enabled after a system restart. Set up Reference UOS ====================