mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
update vm synology
This commit is contained in:
parent
338962ca90
commit
5853b49923
@ -34,9 +34,6 @@ while true; do
|
||||
case $OPTION in
|
||||
1)
|
||||
msg_info2 "$(translate "Running script:") $(translate "Synology DSM VM Creator")..."
|
||||
for fd in {3..63}; do
|
||||
eval "exec ${fd}>&-"
|
||||
done
|
||||
bash <(curl -s "$REPO_URL/scripts/vm/synology.sh")
|
||||
if [ $? -ne 0 ]; then
|
||||
msg_warn "$(translate "Operation cancelled or failed.")"
|
||||
|
@ -514,6 +514,9 @@ function select_passthrough_disk() {
|
||||
done
|
||||
|
||||
ZFS_DISKS=$(echo "$ZFS_DISKS" | sort -u)
|
||||
for fd in {3..63}; do
|
||||
eval "exec ${fd}>&-" 2>/dev/null
|
||||
done
|
||||
LVM_DEVICES=$(pvs --noheadings -o pv_name | xargs -n1 readlink -f | sort -u)
|
||||
RAID_ACTIVE=$(grep -Po 'md\d+\s*:\s*active\s+raid[0-9]+' /proc/mdstat | awk '{print $1}' | sort -u)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user