Proxmox Backup Server Renaming and Update fix (#2012)
* Remaned PBS to long name Proxmox Backup Server and fixed install check * Fix Name
This commit is contained in:
		
							parent
							
								
									de45527d45
								
							
						
					
					
						commit
						0e5f663df5
					
				| @ -16,7 +16,7 @@ cat <<"EOF" | ||||
| EOF | ||||
| } | ||||
| header_info | ||||
| APP="PBS" | ||||
| APP="Proxmox-Backup-Server" | ||||
| var_tags="backup" | ||||
| var_cpu="2" | ||||
| var_ram="2048" | ||||
| @ -37,7 +37,7 @@ function update_script() { | ||||
|     header_info | ||||
|     check_container_storage | ||||
|     check_container_resources | ||||
|     if [[ ! -d /var ]]; then msg_error "No ${APP} Installation Found!"; exit; fi | ||||
|     if [[ ! -e /usr/sbin/proxmox-backup-manager ]]; then msg_error "No ${APP} Installation Found!"; exit; fi | ||||
|         msg_info "Updating $APP LXC" | ||||
|         apt-get update &>/dev/null | ||||
|         apt-get -y upgrade &>/dev/null | ||||
| @ -14,9 +14,11 @@ network_check | ||||
| update_os | ||||
| 
 | ||||
| msg_info "Installing Dependencies" | ||||
| $STD apt-get install -y curl | ||||
| $STD apt-get install -y sudo | ||||
| $STD apt-get install -y mc | ||||
| $STD apt-get install -y \ | ||||
|     curl \ | ||||
|     sudo \ | ||||
|     gpg \ | ||||
|     mc  | ||||
| msg_ok "Installed Dependencies" | ||||
| 
 | ||||
| msg_info "Installing Proxmox Backup Server" | ||||
| @ -1,12 +1,12 @@ | ||||
| { | ||||
|     "name": "Proxmox Backup Server", | ||||
|     "slug": "pbs", | ||||
|     "slug": "proxmox-backup-server", | ||||
|     "categories": [ | ||||
|         1 | ||||
|     ], | ||||
|     "date_created": "2024-05-02", | ||||
|     "type": "ct", | ||||
|     "updateable": false, | ||||
|     "updateable": true, | ||||
|     "privileged": false, | ||||
|     "interface_port": 8007, | ||||
|     "documentation": "https://pbs.proxmox.com/docs/", | ||||
| @ -16,7 +16,7 @@ | ||||
|     "install_methods": [ | ||||
|         { | ||||
|             "type": "default", | ||||
|             "script": "ct/pbs.sh", | ||||
|             "script": "ct/proxmox-backup-server.sh", | ||||
|             "resources": { | ||||
|                 "cpu": 2, | ||||
|                 "ram": 2048, | ||||
| @ -27,12 +27,12 @@ | ||||
|         } | ||||
|     ], | ||||
|     "default_credentials": { | ||||
|         "username": null, | ||||
|         "username": "root", | ||||
|         "password": null | ||||
|     }, | ||||
|     "notes": [ | ||||
|         { | ||||
|             "text": "Set a root password if using autologin. This will be the PBS password. `sudo passwd root`", | ||||
|             "text": "Set a root password if using autologin. This will be the PBS password. `passwd root`", | ||||
|             "type": "warning" | ||||
|         } | ||||
|     ] | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Thorsten
						Thorsten