mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-03 09:52:50 +00:00
Fix interactive (#8622)
This commit is contained in:
@@ -35,6 +35,10 @@
|
||||
{
|
||||
"text": "You probably want to drastically extend the storage space to fit whatever clients you want to back up",
|
||||
"type": "info"
|
||||
},
|
||||
{
|
||||
"text": "Directory `/opt/urbackup/backups` is set as initial backup path. Change it to your liking",
|
||||
"type": "info"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,9 +14,12 @@ network_check
|
||||
update_os
|
||||
|
||||
msg_info "Installing Dependencies"
|
||||
$STD apt install -y coreutils
|
||||
$STD apt install -y \
|
||||
coreutils \
|
||||
debconf-utils
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
|
||||
msg_info "Installing UrBackup Server"
|
||||
curl -fsSL https://download.opensuse.org/repositories/home:uroni/Debian_12/Release.key | gpg --dearmor -o /usr/share/keyrings/home-uroni.gpg
|
||||
cat <<EOF | sudo tee /etc/apt/sources.list.d/home-uroni.sources >/dev/null
|
||||
@@ -27,6 +30,8 @@ Components:
|
||||
Signed-By: /usr/share/keyrings/home-uroni.gpg
|
||||
EOF
|
||||
$STD apt update
|
||||
mkdir -p /opt/urbackup/backups
|
||||
echo "urbackup-server urbackup/backuppath string /opt/urbackup/backups" | debconf-set-selections
|
||||
$STD apt install -y urbackup-server
|
||||
msg_ok "Installed UrBackup Server"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user