* Assume that the ephemeral devices are called /dev/xvda-e. So
in Charon deployments, non-ephemeral devices should be >= /dev/xvdf. svn path=/nixos/trunk/; revision=33764
This commit is contained in:
parent
f2fd48e131
commit
185e9b69ed
@ -91,7 +91,7 @@ with pkgs.lib;
|
||||
''
|
||||
diskNr=0
|
||||
diskForAufs=
|
||||
for device in /dev/xvd*; do
|
||||
for device in /dev/xvd[abcde]*; do
|
||||
if [ "$device" = /dev/xvda -o "$device" = /dev/xvda1 ]; then continue; fi
|
||||
fsType=$(blkid -o value -s TYPE "$device" || true)
|
||||
if [ "$fsType" = swap ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user