mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 22:11:56 +00:00
Update wireguard.sh
This commit is contained in:
parent
ed23baadce
commit
fcb8aafa59
@ -236,9 +236,14 @@ if [ "$STORAGE_TYPE" == "zfspool" ]; then
|
|||||||
warn "Some addons may not work due to ZFS not supporting 'fallocate'."
|
warn "Some addons may not work due to ZFS not supporting 'fallocate'."
|
||||||
fi
|
fi
|
||||||
if [ "$DHCP" == "1" ]; then
|
if [ "$DHCP" == "1" ]; then
|
||||||
pct config $CTID | grep -i hwaddr
|
MAC=$(pct config $CTID \
|
||||||
|
| grep -i hwaddr \
|
||||||
|
| awk '{print substr($2, 31, length($3) 17 ) }') \
|
||||||
|
|
||||||
|
echo -e "MAC Address ${BL}$MAC${CL}"
|
||||||
|
|
||||||
dhcp_reservation(){
|
dhcp_reservation(){
|
||||||
printf "Please set DHCP Reservation and press Enter."
|
printf "Please set DHCP reservation and press Enter."
|
||||||
read
|
read
|
||||||
}
|
}
|
||||||
dhcp_reservation
|
dhcp_reservation
|
||||||
|
Loading…
Reference in New Issue
Block a user