From 44bfb6a8dfad300be97156975e409a0cea62ba8e Mon Sep 17 00:00:00 2001 From: Jiaqing Zhao Date: Fri, 7 Jul 2023 07:02:54 +0000 Subject: [PATCH] doc: update network configuration section Launch script attaches guest network to bridge acrn-br0 by default, while this bridge is not automatically created during installation. This patch updates the documentation to guide users with the sample bridge configuration in Getting Started Guide and Sample Application Guide. Tracked-On: #8448 Signed-off-by: Jiaqing Zhao --- doc/getting-started/getting-started.rst | 4 ++++ doc/getting-started/sample-app.rst | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/getting-started/getting-started.rst b/doc/getting-started/getting-started.rst index 4f33cb263..5945c0f60 100644 --- a/doc/getting-started/getting-started.rst +++ b/doc/getting-started/getting-started.rst @@ -671,8 +671,12 @@ The ACRN hypervisor boots the Ubuntu Service VM automatically. so the Device Model can create a bridge device (acrn-br0) that provides User VMs with wired network access: + .. warning:: + The IP address of Service VM may change after executing the following command. + .. code-block:: bash + cp /usr/share/doc/acrnd/examples/* /etc/systemd/network sudo systemctl enable --now systemd-networkd .. _gsg-user-vm: diff --git a/doc/getting-started/sample-app.rst b/doc/getting-started/sample-app.rst index ff0fb1004..0df896689 100644 --- a/doc/getting-started/sample-app.rst +++ b/doc/getting-started/sample-app.rst @@ -449,8 +449,14 @@ Install and Run ACRN on the Target System sudo apt purge acrn-hypervisor sudo apt install /tmp/acrn-hypervisor*.deb /tmp/*acrn-service-vm*.deb -#. Enable networking services for sharing with the HMI User VM:: +#. Enable networking services for sharing with the HMI User VM: + .. warning:: + The IP address of Service VM may change after executing the following command. + + .. code-block:: bash + + cp /usr/share/doc/acrnd/examples/* /etc/systemd/network sudo systemctl enable --now systemd-networkd #. Reboot the system::