fix: Fix volume tag judgement logic
fix volume tag judgement logic Change-Id: I857c1932685a0b555b95b5a29fc6a65e937e00dc
This commit is contained in:
parent
f7e4b18413
commit
bd6a10f7c6
@ -65,7 +65,8 @@ export const isOsDisk = (item) => {
|
||||
item.bootable === 'true' &&
|
||||
item.attachments &&
|
||||
item.attachments.length !== 0 &&
|
||||
item.attachments[0].device === '/dev/vda'
|
||||
(item.attachments[0].device === '/dev/vda' ||
|
||||
item.attachments[0].device === '/dev/sda')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user