mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-12-14 15:03:12 +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:
@@ -50,6 +50,10 @@ type syslinux struct {
|
||||
mbrBin string
|
||||
}
|
||||
|
||||
func (s syslinux) Validate(_ BootFS) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s syslinux) Setup(ctx context.Context, dev, root string, cmdline string) error {
|
||||
logrus.Infof("setting up syslinux bootloader")
|
||||
if err := exec.Run(ctx, "extlinux", "--install", filepath.Join(root, "boot")); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user