Fix handling when vm.create(installation) is undefined.
This commit is contained in:
parent
7d82e199b7
commit
2f4a76b3fa
@ -36,7 +36,7 @@ create = $coroutine ({
|
||||
VIFs
|
||||
}) ->
|
||||
vm = yield @getXAPI(template).createVm(template.id, {
|
||||
installRepository: installation.repository,
|
||||
installRepository: installation && installation.repository,
|
||||
nameLabel: name_label,
|
||||
vdis: VDIs,
|
||||
vifs: VIFs
|
||||
|
Loading…
Reference in New Issue
Block a user