mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-06 15:59:17 +00:00
Remove quotes from the parameters
This commit is contained in:
parent
7cb5ebf00e
commit
a81592d9c0
@ -67,9 +67,9 @@ function ca_settings() {
|
||||
DEFAULT_CA_DNS_ENTRY="${HN}.local"
|
||||
if CA_DNS_ENTRY=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "DNS entry of Certificate Authority" 8 58 "$DEFAULT_CA_DNS_ENTRY" --title "Configure Certificate Authority" 3>&1 1>&2 2>&3); then
|
||||
if [ -z "$CA_DNS_ENTRY" ]; then
|
||||
CA_DNS_ENTRIES+=("--dns=\"$DEFAULT_CA_DNS_ENTRY\"")
|
||||
CA_DNS_ENTRIES+=("--dns=$DEFAULT_CA_DNS_ENTRY")
|
||||
else
|
||||
CA_DNS_ENTRIES+=("--dns=\"$CA_DNS_ENTRY\"")
|
||||
CA_DNS_ENTRIES+=("--dns=$CA_DNS_ENTRY")
|
||||
fi
|
||||
else
|
||||
exit
|
||||
@ -78,7 +78,7 @@ function ca_settings() {
|
||||
while whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "Configure Certificate Authority" --yesno "Do you want to add another DNS entry?" 10 72 ; do
|
||||
if CA_DNS_ENTRY=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "DNS entry of Certificate Authority" 8 58 "" --title "Configure Certificate Authority" 3>&1 1>&2 2>&3); then
|
||||
if [ -n "$CA_DNS_ENTRY" ]; then
|
||||
CA_DNS_ENTRIES+=(" --dns=\"$CA_DNS_ENTRY\"")
|
||||
CA_DNS_ENTRIES+=(" --dns=$CA_DNS_ENTRY")
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user