File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ BAIL_FINAL_CMD=${BAIL_FINAL_CMD:-"exit 1"}
31
31
# the contents of this file are saved to $REPORT/installer.log
32
32
# After the USB install, users can see the installation status under /Volumes/INVENTORY/<serial#>/installer.log
33
33
LOGFILE_DIR=" /run"
34
-
35
- # pillar behaves differently if this file exists to check if it is running in installer mode - see hypervisor.go
36
34
LOGFILE=" $LOGFILE_DIR /installer.log"
37
35
# logs to both console and a file.
38
36
logmsg () {
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
10
10
"os"
11
11
12
12
"github.com/lf-edge/eve/pkg/pillar/types"
13
- fileutils "github.com/lf-edge/eve/pkg/pillar/utils/file"
14
13
"github.com/shirou/gopsutil/cpu"
15
14
"github.com/shirou/gopsutil/mem"
16
15
"github.com/sirupsen/logrus"
@@ -19,12 +18,6 @@ import (
19
18
var currentHypervisor Hypervisor
20
19
21
20
func init () {
22
- if fileutils .FileExists (nil , "/run/installer.log" ) {
23
- // if this file exists it means we're running in the installer and we should not inititialize the containerd
24
- // hypervisor as it interferes with the installer
25
- return
26
- }
27
-
28
21
var err error
29
22
30
23
flagSet := flag .NewFlagSet ("" , flag .ExitOnError )
You can’t perform that action at this time.
0 commit comments