puppetlabs-toy-chest / wash

Wide Area SHell: a cloud-native shell for bringing remote infrastructure to your terminal.
https://puppetlabs.github.io/wash
Apache License 2.0
180 stars 29 forks source link

Wash fails to write config on startup on Linux #712

Closed MikaelSmith closed 4 years ago

MikaelSmith commented 4 years ago

When I first start Wash on a Linux machine, I get

Do you use aws (y/n)? n
docker? y
gcp? n
kubernetes? n
The docker core plugins have been enabled.
WARN Failed to write-back the list of enabled plugins to ~/.puppetlabs/wash/wash.yaml: open /root/.puppetlabs/wash/wash.yaml: no such file or directory

Welcome to Wash! Try 'docs .'
wash . ❯

The warning is unexpected, and it indeed doesn't write anything to wash.yaml.

On 2nd run it seems to fix itself, but I have to answer all the prompts again

Do you use kubernetes (y/n)? n
aws? n
docker? y
gcp? n
The docker core plugins have been enabled.
You can disable them by modifying the 'plugins' key in your config
file (~/.puppetlabs/wash/wash.yaml), and then restarting the shell

Welcome to Wash! Try 'docs .'
wash . ❯