Fix handling when vm.create(installation) is undefined.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user