copr-builders: IBM Cloud may make the SWAP on /dev/vda, too
This commit is contained in:
parent
d3806102e9
commit
f133711de5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ else
|
|||
# LibVirt (on-premise) machine, or the IBM Cloud machine. Find the "large"
|
||||
# volume, that one will be used (IBM Cloud assigns the swap volume name
|
||||
# randomly).
|
||||
for vol in /dev/vdb /dev/vdc /dev/vdd; do
|
||||
for vol in /dev/vdb /dev/vdc /dev/vdd /dev/vda; do
|
||||
mount | grep $vol && continue
|
||||
size=$(blockdev --getsize64 "$vol")
|
||||
test "$size" -le 150000000000 && continue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue