Commit 0a2a524
vmware: get recommended disk controller only when root or data disk controller is osdefault (#5258)
* vmware: get recommended disk controller only when root or data disk controller is osdefault
* #5258: fix NPE when template OS is 'Other SUSE Linux(64-bit)'
* server: skip zone check for PERHOST iso during attachIso
Hypervisor tools ISO - vmware-toools.iso, xs-tools.iso are marked as PERHOST in DB. They are active but not downloaded to the secondary storages and hence no template-zone entry.
Skips the template-zone check for such templates.
Fixes #5265
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
* inverted check
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>1 parent 8680f7d commit 0a2a524
File tree
2 files changed
+4
-7
lines changed- vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo
2 files changed
+4
-7
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
1530 | | - | |
1531 | 1530 | | |
1532 | 1531 | | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | | - | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
1538 | 1535 | | |
1539 | 1536 | | |
1540 | 1537 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3341 | 3341 | | |
3342 | 3342 | | |
3343 | 3343 | | |
3344 | | - | |
| 3344 | + | |
3345 | 3345 | | |
3346 | 3346 | | |
3347 | 3347 | | |
| |||
0 commit comments