switch unsupported bootloader message to be written to the log
This commit is contained in:
parent
84befa6f85
commit
70d725913f
1 changed files with 2 additions and 1 deletions
|
@ -179,8 +179,9 @@ func (m *model) install(auth string) {
|
||||||
} else if config.Bootloader == "grub2" {
|
} else if config.Bootloader == "grub2" {
|
||||||
// Write to logger
|
// Write to logger
|
||||||
logger.Printf("Configuring grub2 manually")
|
logger.Printf("Configuring grub2 manually")
|
||||||
|
configs.Set_Grub2()
|
||||||
} else {
|
} else {
|
||||||
kernel_args := fileio.ReadFile(config.Path.CMDLINE)
|
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)
|
logger.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