joshzarrabi / workstation

MIT License
0 stars 3 forks source link

It is difficult to clone repos via SSH onto a new workstation once it's up #3

Open fg-j opened 4 years ago

fg-j commented 4 years ago

There is no utility installed on the workstation VMs to load SSH keys (e.g. vkl) and the repo that contains that script is private afaik. There's a bit of friction at the start of working with a new VM because we don't have any of the repos we often work in, and we don't have a way of quickly loading our keys to clone them.

Maybe it'd be useful to provide the ability to copy an arbitrary directory onto the VM, specified at setup.sh time. That way we can easily add utilities that aren't open source / are very team-specific.

joshzarrabi commented 3 years ago

Hi @fg-j, I agree that the ability to run arbitrary scripts would be a cool feature. I dont have much use for it myself right now but would happily accept a pr if you make one :)

andymoe commented 3 years ago

We could potentially use terraforms file provisioner to aid us with this feature: https://www.terraform.io/docs/language/resources/provisioners/file.html