From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 68ED874F57 for ; Thu, 2 Jun 2022 11:23:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 5E41F2313 for ; Thu, 2 Jun 2022 11:22:54 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 2E9F922EE for ; Thu, 2 Jun 2022 11:22:53 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 065F842A48 for ; Thu, 2 Jun 2022 11:22:53 +0200 (CEST) From: Aaron Lauterer To: pve-devel@lists.proxmox.com Date: Thu, 2 Jun 2022 11:22:50 +0200 Message-Id: <20220602092251.1393709-3-a.lauterer@proxmox.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220602092251.1393709-1-a.lauterer@proxmox.com> References: <20220602092251.1393709-1-a.lauterer@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.267 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH docs v2 2/3] network: adapt apply config section to PVE 7 X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2022 09:23:24 -0000 ifupdown2 is now installed by default, we can therefore omit the whole installation part except a small note for people who installed PVE on top of Debian. also mention the CLI variant for users who like to edit the network config directly or are using some config management tools Signed-off-by: Aaron Lauterer --- changes: add note about installing ifupdown2 if PVE was installed on top of Debian pve-network.adoc | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/pve-network.adoc b/pve-network.adoc index a33b90c..eab0e02 100644 --- a/pve-network.adoc +++ b/pve-network.adoc @@ -24,34 +24,23 @@ inaccessible. Reboot Node to apply ^^^^^^^^^^^^^^^^^^^^ -With the default installed `ifupdown` network managing package you need to -reboot to commit any pending network changes. Most of the time, the basic {pve} -network setup is stable and does not change often, so rebooting should not be -required often. +One way to apply a new network configuration is to reboot the node. Reload Network with ifupdown2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -With the optional `ifupdown2` network managing package you also can reload the -network configuration live, without requiring a reboot. +With the 'ifupdown2' package (default since {pve} 7), it is possible to apply +network configuration changes without a reboot. If you change the network +configuration via the GUI, you can click the 'Apply Configuration' button. Run +the following command if you make changes directly to the +`/etc/network/interfaces` file: -Since {pve} 6.1 you can apply pending network changes over the web-interface, -using the 'Apply Configuration' button in the 'Network' panel of a node. - -To install 'ifupdown2' ensure you have the latest {pve} updates installed, then - -WARNING: installing 'ifupdown2' will remove 'ifupdown', but as the removal -scripts of 'ifupdown' before version '0.8.35+pve1' have a issue where network -is fully stopped on removal footnote:[Introduced with Debian Buster: -https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945877] you *must* ensure -that you have a up to date 'ifupdown' package version. - -For the installation itself you can then simply do: - - apt install ifupdown2 +---- + ifreload -a +---- -With that you're all set. You can also switch back to the 'ifupdown' variant at -any time, if you run into issues. +NOTE: If you installed {pve} on top of Debian, make sure 'ifupdown2' is +installed: 'apt install ifupdown2' Naming Conventions ~~~~~~~~~~~~~~~~~~ -- 2.30.2