* 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:
Eelco Dolstra 2012-04-12 16:48:01 +00:00
parent f2fd48e131
commit 185e9b69ed

View File

@ -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