diff --git a/proxmox/download-proxmox-essentials.sh b/proxmox/download-proxmox-essentials.sh index 2bafa46..8957cf3 100755 --- a/proxmox/download-proxmox-essentials.sh +++ b/proxmox/download-proxmox-essentials.sh @@ -9,18 +9,18 @@ rm /root/scripts/proxmox-* > /dev/null 2>&1 # check for pve directory if [[ -d /etc/pve ]] ; then - wget -qO /root/scripts/proxmox-pve-essentials.sh http://192.168.1.50/scripts/proxmox/proxmox-pve-essentials.sh - wget -qO /root/scripts/proxmox-post-pve-install.sh http://192.168.1.50/scripts/proxmox/proxmox-post-pve-install.sh - wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50/scripts/proxmox/proxmox-kernel-clean.sh + wget -qO /root/scripts/proxmox-pve-essentials.sh http://192.168.1.50:81/proxmox/proxmox-pve-essentials.sh + wget -qO /root/scripts/proxmox-post-pve-install.sh http://192.168.1.50:81/proxmox/proxmox-post-pve-install.sh + wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50:81/proxmox/proxmox-kernel-clean.sh chmod +x /root/scripts/proxmox-*.sh /root/scripts/proxmox-pve-essentials.sh fi # check for pbs directory if [[ -d /etc/proxmox-backup ]] ; then - wget -qO /root/scripts/proxmox-pbs-essentials.sh http://192.168.1.50/scripts/proxmox/proxmox-pbs-essentials.sh - wget -qO /root/scripts/proxmox-post-pbs-install.sh http://192.168.1.50/scripts/proxmox/proxmox-post-pbs-install.sh - wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50/scripts/proxmox/proxmox-kernel-clean.sh + wget -qO /root/scripts/proxmox-pbs-essentials.sh http://192.168.1.50:81/proxmox/proxmox-pbs-essentials.sh + wget -qO /root/scripts/proxmox-post-pbs-install.sh http://192.168.1.50:81/proxmox/proxmox-post-pbs-install.sh + wget -qO /root/scripts/proxmox-kernel-clean.sh http://192.168.1.50:81/proxmox/proxmox-kernel-clean.sh chmod +x /root/scripts/proxmox-*.sh /root/scripts/proxmox-pbs-essentials.sh fi diff --git a/proxmox/proxmox-pbs-essentials.sh b/proxmox/proxmox-pbs-essentials.sh index 72613ad..12cbff4 100755 --- a/proxmox/proxmox-pbs-essentials.sh +++ b/proxmox/proxmox-pbs-essentials.sh @@ -17,7 +17,7 @@ apt-get install -y hstr htop ncdu proxmox-backup sudo pwgen curl wget zip unzip # set input preferences if [[ ! -f /etc/inputrc.default ]] - then wget -qO /etc/inputrc.default http://192.168.1.50/files/debian/inputrc.default + then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default fi rm /etc/inputrc > /dev/null 2>&1 cp /etc/inputrc.default /etc/inputrc @@ -26,7 +26,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc # set bash preferences and aliases if [[ ! -f /etc/bash.bashrc.default ]] - then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default + then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default fi rm /etc/bash.bashrc > /dev/null 2>&1 cp /etc/bash.bashrc.default /etc/bash.bashrc diff --git a/proxmox/proxmox-pve-essentials.sh b/proxmox/proxmox-pve-essentials.sh index 158e95a..f4be695 100755 --- a/proxmox/proxmox-pve-essentials.sh +++ b/proxmox/proxmox-pve-essentials.sh @@ -26,7 +26,7 @@ rm /etc/motd > /dev/null 2>&1 # set input preferences if [[ ! -f /etc/inputrc.default ]] - then wget -qO /etc/inputrc.default http://192.168.1.50/files/debian/inputrc.default + then wget -qO /etc/inputrc.default http://192.168.1.50/debian/inputrc.default fi rm /etc/inputrc > /dev/null 2>&1 cp /etc/inputrc.default /etc/inputrc @@ -35,7 +35,7 @@ echo "set completion-ignore-case On" >> /etc/inputrc # set bash preferences and aliases if [[ ! -f /etc/bash.bashrc.default ]] - then wget -qO /etc/bash.bashrc.default http://192.168.1.50/files/debian/bash.bashrc.default + then wget -qO /etc/bash.bashrc.default http://192.168.1.50/debian/bash.bashrc.default fi rm /etc/bash.bashrc > /dev/null 2>&1 cp /etc/bash.bashrc.default /etc/bash.bashrc diff --git a/restic/restic-local/install-restic-local.sh b/restic/restic-local/install-restic-local.sh index c4ad8fc..c2466cf 100755 --- a/restic/restic-local/install-restic-local.sh +++ b/restic/restic-local/install-restic-local.sh @@ -8,12 +8,12 @@ rm /root/scripts/wrestic-backup-to-truenas.sh > /dev/null 2>&1 mkdir -p /root/scripts/restic > /dev/null 2>&1 rm /root/scripts/restic/* > /dev/null 2>&1 -wget -q http://192.168.1.50/scripts/restic/restic-local/restic-local-backup.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-local/export-etc.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-local/export-opt.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-local/export-root.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-local/restic-local-init.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/restic-local-backup.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/export-etc.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/export-home-akanealw.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/export-opt.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/export-root.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-local/restic-local-init.sh -P /root/scripts/restic chmod +x /root/scripts/restic/* sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/* diff --git a/restic/restic-lxc/install-restic-lxc.sh b/restic/restic-lxc/install-restic-lxc.sh index a101946..2ff4cf2 100755 --- a/restic/restic-lxc/install-restic-lxc.sh +++ b/restic/restic-lxc/install-restic-lxc.sh @@ -8,11 +8,11 @@ rm /root/scripts/wrestic-backup-to-truenas.sh > /dev/null 2>&1 mkdir -p /root/scripts/restic > /dev/null 2>&1 rm /root/scripts/restic/* > /dev/null 2>&1 -wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-etc.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-opt.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-lxc/export-root.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-backup.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/export-etc.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/export-home-akanealw.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/export-opt.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/export-root.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-lxc/restic-lxc-init.sh -P /root/scripts/restic chmod +x /root/scripts/restic/* diff --git a/restic/restic-rest-server/install-restic-rest-server.sh b/restic/restic-rest-server/install-restic-rest-server.sh index 4bf9a5f..91815d7 100755 --- a/restic/restic-rest-server/install-restic-rest-server.sh +++ b/restic/restic-rest-server/install-restic-rest-server.sh @@ -4,12 +4,12 @@ mkdir -p /root/scripts/restic > /dev/null 2>&1 mkdir -p /root/scripts/restic/older-scripts > /dev/null 2>&1 mv /root/scripts/restic/export*.sh /root/scripts/restic/older-scripts/ > /dev/null 2>&1 mv /root/scripts/restic/restic*.sh /root/scripts/restic/older-scripts/ > /dev/null 2>&1 -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-backup.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-etc.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-home.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-opt.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/export-root.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/restic-rest-server-backup.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/export-etc.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/export-home.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/export-opt.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/export-root.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-rest-server/restic-rest-server-init.sh -P /root/scripts/restic chmod +x /root/scripts/restic/*.sh sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*.sh diff --git a/restic/restic-sftp/install-restic-sftp.sh b/restic/restic-sftp/install-restic-sftp.sh index de1d4fe..a72ce58 100755 --- a/restic/restic-sftp/install-restic-sftp.sh +++ b/restic/restic-sftp/install-restic-sftp.sh @@ -2,12 +2,12 @@ mkdir -p /root/scripts/restic > /dev/null 2>&1 rm /root/scripts/restic/* > /dev/null 2>&1 -wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-etc.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-opt.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-sftp/export-root.sh -P /root/scripts/restic -wget -q http://192.168.1.50/scripts/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-backup.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/export-etc.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/export-home-akanealw.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/export-opt.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/export-root.sh -P /root/scripts/restic +wget -q http://192.168.1.50:81/restic/restic-sftp/restic-sftp-init.sh -P /root/scripts/restic chmod +x /root/scripts/restic/* sed -i "s/changemepls/$(cat /etc/hostname | tr '[:upper:]' '[:lower:]')/g" /root/scripts/restic/*