Update pkg/cli/cmds/config.go

Co-authored-by: Jacob Blain Christen <dweomer5@gmail.com>
This commit is contained in:
Darren Shepherd 2020-09-01 10:43:28 -07:00 committed by GitHub
parent 7657ed2e13
commit 551a1842ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ var (
ConfigFlag = cli.StringFlag{
Name: "config,c",
Usage: "(config) Load configuration from `FILE`",
EnvVar: "K3S_CONFIG_FILE",
EnvVar: version.ProgramUpper + "_CONFIG_FILE",
Value: "/etc/rancher/" + version.Program + "/config.yaml",
}
)