mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-01 06:36:47 +00:00
Fix master to boot normal (#68)
* Be more careful with commandWithPaths PATHS Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com> * Do not mount all the things :/ Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com> * Only mount /proc otherwise we break stuff Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com> --------- Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
4
main.go
4
main.go
@@ -21,7 +21,7 @@ func main() {
|
||||
var targetDevice, targetImage string
|
||||
var state *mount.State
|
||||
|
||||
utils.MinimalMounts()
|
||||
utils.MountProc()
|
||||
utils.SetLogger()
|
||||
|
||||
v := version.Get()
|
||||
@@ -42,7 +42,7 @@ func main() {
|
||||
}
|
||||
|
||||
if utils.DisableImmucore() {
|
||||
utils.Log.Info().Msg("Stanza rd.cos.disable on the cmdline or booting from CDROM/Netboot/Squash recovery. Disabling immucore.")
|
||||
utils.Log.Info().Msg("Stanza rd.cos.disable/rd.immucore.disable on the cmdline or booting from CDROM/Netboot/Squash recovery. Disabling immucore.")
|
||||
err = state.RegisterLiveMedia(g)
|
||||
} else if utils.IsUKI() {
|
||||
utils.Log.Info().Msg("UKI booting!")
|
||||
|
Reference in New Issue
Block a user