From: Barış Metin Date: Fri, 14 Jan 2011 14:35:44 +0000 (+0100) Subject: for future virtio support, checking virtio disks too (sneak this in along with other... X-Git-Tag: bootcd-5.0-7~3 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=8c2f14177b191840b138aaf4172919e946959713 for future virtio support, checking virtio disks too (sneak this in along with other bootcd changes). --- diff --git a/initscripts/pl_netinit b/initscripts/pl_netinit index afd4c03..0fa960a 100755 --- a/initscripts/pl_netinit +++ b/initscripts/pl_netinit @@ -129,7 +129,7 @@ find_node_config() # devices shopt -s nullglob - for device in /sys/block/[hs]d*; do + for device in /sys/block/[hsv]d*; do removable=$(cat $device/removable) if [[ $removable -ne 1 ]]; then continue