Skip to content

Commit 0f2606f

Browse files
committed
iso fixes
1 parent ef59186 commit 0f2606f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ui/src/components/view/DeployVMFromBackup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2266,7 +2266,7 @@ export default {
22662266
this.form.templateid = undefined
22672267
this.form.isoid = undefined
22682268
this.tabKey = 'templateid'
2269-
if (this.isoId) {
2269+
if (this.isoId || this.dataPreFill.isIso) {
22702270
this.tabKey = 'isoid'
22712271
}
22722272
_.each(this.params, (param, name) => {

ui/src/views/storage/CreateVMFromBackup.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ export default {
125125
this.dataPreFill.backupid = this.resource.id
126126
this.dataPreFill.computeofferingid = this.vmdetails.serviceofferingid
127127
this.dataPreFill.templateid = this.vmdetails.templateid
128+
this.dataPreFill.isoid = this.vmdetails.templateid
128129
this.dataPreFill.allowIpAddressesFetch = !this.resource.virtualmachineid
129130
this.dataPreFill.networkids = (this.vmdetails.networkids || '').split(',')
130131
this.dataPreFill.ipAddresses = (this.vmdetails.ipaddresses || '').split(',')

0 commit comments

Comments
 (0)