pve/extra_scripts/install_ifupdown2.sh
2023-06-25 11:12:31 +00:00

15 lines
270 B
Bash

#!/bin/bash
# from
# https://github.com/spiritLHLS/pve
# 2023.06.25
# 安装ifupdown2
apt-get update
apt-get install -y ifupdown2
# 删除Systemd服务
systemctl disable ifupdown2-install.service
rm /etc/systemd/system/ifupdown2-install.service
# 删除自身
rm $0