From 3ada867a846c3f0f451eef3ace393a92e82bc4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Ram=C3=ADrez?= Date: Thu, 28 Nov 2024 09:52:41 +0100 Subject: [PATCH 1/2] f-#: Adds METHOD, DNS and GATEWAY parameters to VM template NIC documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aleix Ramírez --- source/management_and_operations/references/template.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/management_and_operations/references/template.rst b/source/management_and_operations/references/template.rst index ac3b5fcf8..57f50f46b 100644 --- a/source/management_and_operations/references/template.rst +++ b/source/management_and_operations/references/template.rst @@ -509,6 +509,12 @@ Network Section +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ | ``MAC`` | Request an specific HW address from the network interface. | O | O | O | +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ +| ``METHOD`` | IP assignment method (empty or ``static``, ``dhcp``, ``skip``). | O | O | O | ++------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ +| ``GATEWAY`` | NIC default gateway. | O | O | O | ++------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ +| ``DNS`` | NIC DNS server. **Please make sure INHERIT_VNET_ATTR="DNS" is added to ``/etc/one/oned.conf``.** | O | O | O | ++------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ | ``BRIDGE`` | Name of the bridge the network device is going to be attached to. | O | O | O | +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ | ``TARGET`` | Name for the tun device created for the VM. | O | O | O | From dbc07ed3a30f17c65ba8be600baad1a0a1973c23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Ram=C3=ADrez?= Date: Thu, 28 Nov 2024 17:29:48 +0100 Subject: [PATCH 2/2] f-#: Fixes key-value format in NIC DNS attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aleix Ramírez --- source/management_and_operations/references/template.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/management_and_operations/references/template.rst b/source/management_and_operations/references/template.rst index 57f50f46b..41383cf9a 100644 --- a/source/management_and_operations/references/template.rst +++ b/source/management_and_operations/references/template.rst @@ -513,7 +513,7 @@ Network Section +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ | ``GATEWAY`` | NIC default gateway. | O | O | O | +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ -| ``DNS`` | NIC DNS server. **Please make sure INHERIT_VNET_ATTR="DNS" is added to ``/etc/one/oned.conf``.** | O | O | O | +| ``DNS`` | NIC DNS server. **Please make sure ``INHERIT_VNET_ATTR="DNS"`` is added to ``/etc/one/oned.conf``.** | O | O | O | +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+ | ``BRIDGE`` | Name of the bridge the network device is going to be attached to. | O | O | O | +------------------------+----------------------------------------------------------------------------------------------------------+-----------------------+-----------------------+-----------------------+