From 59cb5f8c3e2ed9afdab4e3dfb6eb1b590c6ac7d2 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Sun, 25 Jun 2023 17:14:53 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index e6af9fd..ea24739 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -1,7 +1,7 @@ #!/bin/bash # from # https://github.com/spiritLHLS/pve -# 2023.06.24 +# 2023.06.25 _red() { echo -e "\033[31m\033[01m$@\033[0m"; } @@ -246,6 +246,7 @@ install_package bc install_package iptables install_package lshw install_package net-tools +install_package service # 检测IPV4 ip=$(ip -4 addr show | grep global | awk '{print $2}' | cut -d '/' -f1 | head -n 1) # 检测物理接口和MAC地址