From 8f2067fab401a29297b3014ffa6f9ed11e33f9f0 Mon Sep 17 00:00:00 2001 From: akanealw Date: Wed, 2 Aug 2023 13:35:44 -0500 Subject: [PATCH] fixed wget command and added chmod --- files/proxmox/download-proxmox-essentials.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/files/proxmox/download-proxmox-essentials.sh b/files/proxmox/download-proxmox-essentials.sh index 94d56ae..368bc35 100644 --- a/files/proxmox/download-proxmox-essentials.sh +++ b/files/proxmox/download-proxmox-essentials.sh @@ -5,10 +5,12 @@ rm /root/proxmox-* # check for pbs directory if [[ -d /etc/proxmox-backup ]] ; then - wget -O https://aknlw.com/proxmox-pbs-essentials /root/proxmox-pbs-essentials.sh + wget -O /root/proxmox-pbs-essentials.sh https://aknlw.com/proxmox-pbs-essentials + chmod +x /root/proxmox-pbs-essentials.sh fi # check for pve directory if [[ -d /etc/pve ]] ; then - wget -O https://aknlw.com/proxmox-pve-essentials /root/proxmox-pve-essentials.sh + wget -O /root/proxmox-pve-essentials.sh https://aknlw.com/proxmox-pve-essentials + chmod +x /root/proxmox-pve-essentials.sh fi