dom0+vm: minor fixes in qvm-block scripts
This commit is contained in:
parent
67f22ce942
commit
796f45a864
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user