diff --git a/cloudbuild/internal.pkr.hcl b/cloudbuild/internal.pkr.hcl index cf00a5d8..39f221f4 100644 --- a/cloudbuild/internal.pkr.hcl +++ b/cloudbuild/internal.pkr.hcl @@ -132,8 +132,8 @@ build { "cd ../controller/server", "/usr/local/go/bin/go build", "cd $HOME", - "mkdir .kne", - "echo \"report_usage: true\" > .kne/config.yaml", + "mkdir -p .config/kne", + "echo \"report_usage: true\" > .config/kne/config.yaml", ] } diff --git a/cmd/root.go b/cmd/root.go index 8365b98c..c8e7fbab 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -68,7 +68,7 @@ environment.`, func defaultCfgFile() string { if home := homedir.HomeDir(); home != "" { - return filepath.Join(home, ".kne", "config.yaml") + return filepath.Join(home, ".config", "kne", "config.yaml") } return "" }