mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-01 16:51:52 +00:00
update build.func
This commit is contained in:
parent
78d92e980e
commit
50a7fe1021
@ -845,7 +845,7 @@ config_file(){
|
|||||||
if [[ ! -z "$APT_CACHER_IP" ]]; then
|
if [[ ! -z "$APT_CACHER_IP" ]]; then
|
||||||
if [[ "$APT_CACHER_IP" =~ $ip_regex ]]; then
|
if [[ "$APT_CACHER_IP" =~ $ip_regex ]]; then
|
||||||
APT_CACHER="yes"
|
APT_CACHER="yes"
|
||||||
echo -e "${GATEWAY}${BOLD}${DGN}Gateway IP Address: ${BGN}$APT_CACHER_IP${CL}"
|
echo -e "${NETWORK}${BOLD}${DGN}APT-CACHER IP Address: ${BGN}$APT_CACHER_IP${CL}"
|
||||||
else
|
else
|
||||||
msg_error "Invalid IP Address format for APT-Cacher. Needs to be 0.0.0.0, was ${APT_CACHER_IP}"
|
msg_error "Invalid IP Address format for APT-Cacher. Needs to be 0.0.0.0, was ${APT_CACHER_IP}"
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user