mirror of
https://github.com/HikariKnight/quickpassthrough.git
synced 2025-05-13 06:34:41 -04:00
Implement grubby support
This commit is contained in:
parent
7081bfa8d7
commit
ff5d20f4f9
2 changed files with 28 additions and 4 deletions
|
@ -163,6 +163,14 @@ func (m *model) install(auth string) {
|
|||
|
||||
// Configure kernelstub
|
||||
configs.Set_KernelStub()
|
||||
|
||||
} else if config.Bootloader == "grubby" {
|
||||
// Write to logger
|
||||
logger.Printf("Configuring bootloader using grubby")
|
||||
|
||||
// Configure kernelstub
|
||||
configs.Set_Grubby()
|
||||
|
||||
} else if config.Bootloader == "unknown" {
|
||||
kernel_args := fileio.ReadFile(config.Path.CMDLINE)
|
||||
fmt.Printf("Unsupported bootloader, please add the below line to your bootloaders kernel arguments\n%s", kernel_args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue