Closed thraxil closed 4 years ago
Thanks for reporting @thraxil. Can you check if #19 solves the issue on your end?
@ahmedaljazzar I did some more digging and figured out that it wasn't reading my .configs.anders
and everything was staying with the defaults defined in .configs
.
Experimenting with that, what I learned was that the include configs*
that is the first line of the Makefile
wasn't including files in sorted order. So it includes .configs.anders
, then .configs
and the latter overrides everything, setting it all back to the defaults.
This turns out to be because GNU Make 3.82 stopped sorting wildcards:
WARNING: Backward-incompatibility! Wildcards were not documented as returning sorted values, but the results have been sorted up until this release.. If your makefiles require sorted results from wildcard expansions, use the $(sort ...) function to request it explicitly.
It's been re-added in Make 4.3, but I've got 4.2.1 (and that's default on Ubuntu 20.04). Fix is to explicitly sort the includes. PR incoming for that.
On my workstation, I use
ed25519
SSH keys. Something inmake instance.setup
is ignoring theSSH_KEY
set in.configs.anders
(or as a variable in the shell) and defaulting to$HOME/.ssh/id_rsa
, which in my case doesn't exist.eg,
Same error even if I do
SSH_KEY=/home/anders/id_ed25519 make instance.setup