summaryrefslogtreecommitdiffstats
path: root/client/engine/Disk.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-03-22 13:23:04 +0000
committerramon <ramongomez@us.es>2018-03-22 13:23:04 +0000
commit6bb748bfd6df24cf0fd7b2b6fe03f889e3ba336e (patch)
tree3922362f0c1b0e1e3c253f573a309b548d7dca2f /client/engine/Disk.lib
parent5d62f74c02997213e4821b0b43601603ceb3eb8a (diff)
#802: Integrar nuevas funciones en pruebas para gestión de equipos UEFI.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5683 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Disk.lib')
-rwxr-xr-xclient/engine/Disk.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index 3316d0d3..0b1a4c20 100755
--- a/client/engine/Disk.lib
+++ b/client/engine/Disk.lib
@@ -494,7 +494,7 @@ fi
# Listar dispositivos de discos.
ALLDISKS=$((lsblk -n -e 1,2 -x MAJ:MIN 2>/dev/null || lsblk -n -e 1,2) | \
awk '$6~/^disk$/ {gsub(/!/,"/"); printf "/dev/%s ",$1}')
-#ALLDISKS=$(lsblk -Jd -e 1,2 | jq -r '.blockdevices[] | "/dev/"+select(.type=="disk").name')
+#ALLDISKS=$(lsblk -Jdp | jq -r '.blockdevices[] | select(.type=="disk").name')
# Listar volúmenes lógicos.
VOLGROUPS=$(vgs -a --noheadings 2>/dev/null | awk '{printf "/dev/%s ",$1}')
ALLDISKS="$ALLDISKS $VOLGROUPS"