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

bootstrapping #74

Closed
blaggacao opened this issue Mar 15, 2021 · 5 comments
Closed

bootstrapping #74

blaggacao opened this issue Mar 15, 2021 · 5 comments

Comments

@blaggacao
Copy link
Contributor

blaggacao commented Mar 15, 2021

How to bootstrap a deploy-rs remote host?

We need a blessed path to it.

@blaggacao
Copy link
Contributor Author

I see this in the examples: https://github.com/serokell/deploy-rs/blob/master/examples/system/bare.nix

@notgne2 Do you think it is worth exploring a more generalized and standard approach or is direction to leave that concern to the users? At any rate, I'll try to adopt the approach in bare.nix downstream and see where it leads me to.

I was wondering if it is desirable to provide a more wired-up solution that builds when doing deploy bootstrap or something similar.

@blaggacao
Copy link
Contributor Author

blaggacao commented Mar 15, 2021

Closing as #75 (comment) is a sufficient (potential) solution.

@balsoft
Copy link
Member

balsoft commented Mar 17, 2021

I see this in the examples: https://github.com/serokell/deploy-rs/blob/master/examples/system/bare.nix

Please note that the examples were copied from https://github.com/serokell/deploy/tree/master/examples without modification, so some of it might be strange or even not work.

How to bootstrap a deploy-rs remote host?

We need a blessed path to it.

I'm not sure I understand the question. deploy-rs assumes that a remote host is already running some sort of a NixOS installation. Do you mean we should add a way to deploy to a remote subdirectory, like from a NixOS installation ISO? That would be nice, but it would require quite a lot of changes to the code, and there are a lot of edge cases there to be thought about (e.g. where and how to install the bootloader).

@blaggacao
Copy link
Contributor Author

blaggacao commented Mar 17, 2021

I yesterday implemented a couple of things in divnix/devos. They are documented here: https://devos.divnix.com/doc/start/bootstrapping.html

It would be nice if we could keep on spinning the yarn to make the overall bootstrapping experience as versatile as possible.

Do you mean we should add a way to deploy to a remote subdirectory, like from a NixOS installation ISO?

That would actually be nice, indeed. It would smoothen the experience in https://devos.divnix.com/doc/start/bootstrapping.html#install in favor of deploy-rs.

@balsoft
Copy link
Member

balsoft commented Mar 17, 2021

Ok, would you mind opening an issue about that?

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

2 participants