Skip to content

Commit bdc1531

Browse files
committed
env: Pass CRC_PROVIDER env var to daemon on setup
1 parent 8162e6e commit bdc1531

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pkg/crc/preflight/preflight_checks_darwin.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ func killVfkitProcess() error {
162162
func getDaemonConfig() (*launchd.AgentConfig, error) {
163163
logFilePath := filepath.Join(constants.CrcBaseDir, ".launchd-crcd.log")
164164

165-
env := map[string]string{"Version": version.GetCRCVersion()}
165+
env := map[string]string{
166+
"Version": version.GetCRCVersion(),
167+
"CRC_PROVIDER": constants.Provider(),
168+
}
166169
daemonConfig := launchd.AgentConfig{
167170
Label: constants.DaemonAgentLabel,
168171
ExecutablePath: constants.CrcSymlinkPath,

0 commit comments

Comments
 (0)