mirror of
https://git.proxmox.com/git/ifupdown2
synced 2025-08-10 04:56:35 +00:00
do not trigger ifreload in installer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8163f4f7bb
commit
1b11ea3f7e
@ -12,9 +12,11 @@ diff --git a/debian/ifupdown2.postinst b/debian/ifupdown2.postinst
|
|||||||
index b7de485..eaade7c 100644
|
index b7de485..eaade7c 100644
|
||||||
--- a/debian/ifupdown2.postinst
|
--- a/debian/ifupdown2.postinst
|
||||||
+++ b/debian/ifupdown2.postinst
|
+++ b/debian/ifupdown2.postinst
|
||||||
@@ -113,6 +113,8 @@ case "$1" in
|
@@ -113,7 +113,9 @@ case "$1" in
|
||||||
|
chmod +x /usr/share/ifupdown2/__main__.py
|
||||||
postinst_remove_diverts
|
postinst_remove_diverts
|
||||||
if [ -f "/tmp/.ifupdown2-first-install" ]; then
|
- if [ -f "/tmp/.ifupdown2-first-install" ]; then
|
||||||
|
+ if [ -f "/tmp/.ifupdown2-first-install" ] && [ ! -e /proxmox_install_mode ]; then
|
||||||
proxmox_compatibility
|
proxmox_compatibility
|
||||||
+ echo "Reloading network config on first install"
|
+ echo "Reloading network config on first install"
|
||||||
+ ifreload -a
|
+ ifreload -a
|
||||||
|
Loading…
Reference in New Issue
Block a user