mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-04 16:20:05 +00:00
Set the sentinel file from immucore directly
Also add a missing livecd sentinel file Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
@@ -38,6 +38,13 @@ Sends a generic event payload with the configuration found in the scanned direct
|
||||
zerolog.SetGlobalLevel(zerolog.DebugLevel)
|
||||
}
|
||||
|
||||
// First set the sentinel file
|
||||
err = utils.SetSentinelFile()
|
||||
if err != nil {
|
||||
log.Logger.Err(err).Send()
|
||||
return err
|
||||
}
|
||||
|
||||
// If we boot from CD, we do nothing
|
||||
cdBoot, err := utils.BootedFromCD()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user