mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-07-04 10:32:27 +00:00
add grub-efi support
* tests: increase timeout * ci: split e2e tests Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
@ -44,6 +44,7 @@ type config struct {
|
||||
arch string
|
||||
cpus uint
|
||||
memory uint
|
||||
bios string
|
||||
accel string
|
||||
detached bool
|
||||
qemuBinPath string
|
||||
@ -92,6 +93,12 @@ func WithMemory(memory uint) Option {
|
||||
}
|
||||
}
|
||||
|
||||
func WithBios(bios string) Option {
|
||||
return func(c *config) {
|
||||
c.bios = bios
|
||||
}
|
||||
}
|
||||
|
||||
func WithAccel(accel string) Option {
|
||||
return func(c *config) {
|
||||
c.accel = accel
|
||||
|
Reference in New Issue
Block a user