Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nixops does not provide nix-build with SSH credentials for OS X-based builds #483

Closed
wmertens opened this issue Aug 3, 2016 · 4 comments

Comments

@wmertens
Copy link
Contributor

wmertens commented Aug 3, 2016

Creating separate issue for this, see #260 (comment) and the history in that issue.

Right now, if you want to build a VM from OS X, you need get nixops to boot your VM, then SSH in, add your own SSH credentials, and only then building via the NIX_REMOTE_SYSTEMS will work.

NixOps should call nix-build with an environment that allows nix-build to use the NixOps SSH key.

@wmertens wmertens changed the title nix-build doesn't get SSH access nix-build doesn't get SSH access for OS X builds Aug 3, 2016
@wmertens wmertens changed the title nix-build doesn't get SSH access for OS X builds nixops does not provide nix-build with SSH credentials for OS X-based builds Sep 14, 2016
@tomberek
Copy link
Contributor

tomberek commented Dec 2, 2016

What are the full instructions for the "workaround?"

@kirelagin
Copy link
Member

I am not really sure whether this issue is still relevant or not. (I’ve sent a longer email to the mailing list, it would be great if you could help me firure out all the details, @wmertens.)

With NIX_REMOTE= the remote building code in nixops/deployment.py kicks in and, in my case, the deployment succeeds without me having to do anything manually. Does this mean that his particular issue is resolved nowadays?

@wmertens
Copy link
Contributor Author

Closing because it seems to have been fixed at some point.

@kirelagin
Copy link
Member

It’s weird but now it does not work, I had to add my pwersonal key, to make nixops deploy ssh and build remotely 🤔.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants