From 29aade8ccd07df91f881e9b51f5e0bf485a995e6 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sat, 24 Jun 2023 10:11:13 +0000 Subject: [PATCH] Update --- README.md | 3 ++- scripts/install_pve.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e239e99..d5e559e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ 2023.06.24 - 修复部分机器是IPV6子网前缀识别失效的问题 -- 更新Debian12安装的PVE版本为Stable +- 更新Debian12安装的PVE版本为stable +- 修复部分机器ifconfig命令不存在的问题 [更新日志](CHANGELOG.md) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 94fd46d..ef046d7 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -238,6 +238,7 @@ install_package sudo install_package bc install_package iptables install_package lshw +install_package net-tools # 检测IPV4 ip=$(ip -4 addr show | grep global | awk '{print $2}' | cut -d '/' -f1 | head -n 1) # 检测物理接口和MAC地址 @@ -516,7 +517,6 @@ case $version in exit 1 ;; esac -install_package net-tools install_package novnc install_package cloud-init rebuild_cloud_init