From 6bb748bfd6df24cf0fd7b2b6fe03f889e3ba336e Mon Sep 17 00:00:00 2001 From: ramon Date: Thu, 22 Mar 2018 13:23:04 +0000 Subject: #802: Integrar nuevas funciones en pruebas para gestión de equipos UEFI. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.1@5683 a21b9725-9963-47de-94b9-378ad31fedc9 --- client/engine/Disk.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/engine/Disk.lib') 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" -- cgit v1.2.3-18-g5258