nixops
nixops copied to clipboard
uploading deployment.keys fails when root user has a different dafault shell
I like to use fish to manage my servers. And for some reason when I try to deploy a sercet key via nixops, I get "fish:Command substitions not allowed in
uploading key ‘secret-foo’...
fish: Command substitutions not allowed
test -d '/some/path' || ( mkdir -m 0750 -p '/ome/path' && chown root:keys '/some/path;)
^
Nixops of course should use a shell that knows how to interpret its commands. This is a bug existing in pre 2.0, and should be fixed there too...