mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-24 14:01:56 +00:00
Update debian-v3.sh
This commit is contained in:
parent
2ea0eea518
commit
bf23503c65
@ -239,15 +239,15 @@ header_info
|
|||||||
echo -e "${GN}Using ${BGN}${RAM_SIZE}MiB${CL}${GN} RAM${CL}"
|
echo -e "${GN}Using ${BGN}${RAM_SIZE}MiB${CL}${GN} RAM${CL}"
|
||||||
echo -e "${GN}Using IP Address ${BGN}$NET${CL}"
|
echo -e "${GN}Using IP Address ${BGN}$NET${CL}"
|
||||||
echo -e "${GN}Using VLAN Tag ${BGN}$VLAN1${CL}"
|
echo -e "${GN}Using VLAN Tag ${BGN}$VLAN1${CL}"
|
||||||
while true; do
|
|
||||||
read -p "Are these settings correct(y/n)?" yn
|
read -p "Are these settings correct(y/n)? " -n 1 -r
|
||||||
case $yn in
|
echo
|
||||||
[Yy]* ) break;;
|
if [[ ! $REPLY =~ ^[Yy]$ ]]
|
||||||
[Nn]* ) clear; header_info; start_script;;
|
then
|
||||||
* ) echo "Please answer yes or no";;
|
advanced_settings
|
||||||
esac
|
fi
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_script() {
|
function start_script() {
|
||||||
echo -e "${YW}Type Advanced, or Press [ENTER] for Default Settings "
|
echo -e "${YW}Type Advanced, or Press [ENTER] for Default Settings "
|
||||||
read SETTINGS
|
read SETTINGS
|
||||||
|
Loading…
Reference in New Issue
Block a user