dom0+vm: minor fixes in qvm-block scripts

This commit is contained in:
Marek Marczykowski 2011-09-30 11:20:03 +02:00
parent 67f22ce942
commit 796f45a864

View File

@ -19,7 +19,7 @@ fi
# Special case for CD # Special case for CD
if [ "$ID_TYPE" = "cd" ]; then if [ "$ID_TYPE" = "cd" ]; then
if [ "$ID_MEDIA_CDROM" != "1" ]; then if [ "$ID_CDROM_MEDIA" != "1" ]; then
# Hide empty cdrom drive # Hide empty cdrom drive
xenstore-rm "$XS_KEY" xenstore-rm "$XS_KEY"
exit 0 exit 0