This commit is contained in:
2023-11-28 08:57:23 +01:00
commit e0f5d4a2ad
15 changed files with 117244 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Lese die Datei /etc/pve/storage.cfg und gib die Zeilen aus, die "pbs:" enthalten
while IFS= read -r line
do
if [[ $line == *pbs:* ]]; then
output=$(echo "$line" | grep -oP '(?<=pbs:).*'| tr -d '[:space:]')
for i in $output; do echo $i
done
fi
done < /etc/pve/storage.cfg