Commit 16c38218 authored by Mike Hibler's avatar Mike Hibler

Ignore LABEL devices when determining available disks.

parent 31d91f56
#!/usr/bin/perl -wT
#
# Copyright (c) 2013-2018 University of Utah and the Flux Group.
# Copyright (c) 2013-2019 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -624,6 +624,11 @@ sub get_diskinfo($)
next;
}
# skip LABEL devices
if ($vals[1] eq "LABEL") {
next;
}
my $dev = $vals[2];
$geominfo{$dev}{'level'} = $vals[0];
$geominfo{$dev}{'type'} = $vals[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment