DEBUGGING
This commit is contained in:
@@ -100,7 +100,7 @@ hardware_detection() {
|
||||
export TARGET_GRAPHICS="false"
|
||||
fi
|
||||
echo -e "\n\n 🔎 Detecting transconding acceleration on target host..."
|
||||
if ssh_to_host "ls /dev/dri/renderD128" 2>/dev/null; then
|
||||
if ssh_to_host "ls /dev/dri/ | grep -iq 'renderD128'" 2>/dev/null; then
|
||||
echo -e " ✅ Transcoding capable card detected."
|
||||
TARGET_GRAPHICS_RENDERER="true"
|
||||
else
|
||||
@@ -128,11 +128,11 @@ hardware_detection() {
|
||||
services_selection() {
|
||||
echo -e "\n\n ➡️ You will now select the services you want installed on your server:"
|
||||
|
||||
AVAILABLE_SERVICES=( "frigate" "gitea" "home-assistant" "immich" "it-tools" \
|
||||
AVAILABLE_SERVICES=( "frigate" "gitea" "home-assistant" "immich" "it-tools" \
|
||||
"nextcloud" "passbolt" "pi-hole" )
|
||||
AVAILABLE_SERVICES_NUMBER=${#AVAILABLE_SERVICES[@]}
|
||||
AVAILABLE_SERVICES_NUMBER=${#AVAILABLE_SERVICES[@]}
|
||||
|
||||
SERVICES_DESCRIPTION=( "Pi-Hole : Block ads on all your devices" \
|
||||
SERVICES_DESCRIPTION=( "Pi-Hole : Block ads on all your devices" \
|
||||
"Immich : Pictures and videos backup with local machine-learning" \
|
||||
"Nextcloud : No fuss Office 365 replacement" \
|
||||
"Passbolt: Security-first password manager with collaboration features" \
|
||||
@@ -311,12 +311,12 @@ echo \"\${DISK_SIZE[@]}\"
|
||||
|
||||
# Get arrays back
|
||||
readarray -t LINES <<<"$DISK_DETAILS"
|
||||
read -r -a DISK_DEVPATH <<<"${LINES[0]:-}"
|
||||
read -r -a DISK_NAME <<<"${LINES[1]:-}"
|
||||
read -r -a DISK_TYPE <<<"${LINES[2]:-}"
|
||||
read -r -a DISK_HEALTH <<<"${LINES[3]:-}"
|
||||
read -r -a DISK_ID <<<"${LINES[4]:-}"
|
||||
read -r -a DISK_SIZE <<<"${LINES[5]:-}"
|
||||
read -r -a DISK_DEVPATH <<<"${LINES[0]}"
|
||||
read -r -a DISK_NAME <<<"${LINES[1]}"
|
||||
read -r -a DISK_TYPE <<<"${LINES[2]}"
|
||||
read -r -a DISK_HEALTH <<<"${LINES[3]}"
|
||||
read -r -a DISK_ID <<<"${LINES[4]}"
|
||||
read -r -a DISK_SIZE <<<"${LINES[5]}"
|
||||
### Get disk information <--
|
||||
|
||||
### --> Disk selection
|
||||
|
||||
Reference in New Issue
Block a user