Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 971eed2

Browse files
authored
Merge pull request #675 from teawater/fix_dummy
Dummy.GetVm: set config.BootFromTemplate to false to fix vm start fai…
2 parents acc162c + 683945f commit 971eed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

factory/single/single.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func (f Dummy) GetVm(cpu, mem int) (*hypervisor.Vm, error) {
5959
config := hypervisor.BootConfig(f)
6060
config.CPU = cpu
6161
config.Memory = mem
62+
config.BootFromTemplate = false
6263
return hypervisor.GetVm("", &config, false)
6364
}
6465
func (f Dummy) CloseFactory() {}

0 commit comments

Comments
 (0)