-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
Linode support #198
Comments
I use Linode and have recently started using nixops so I will be working on this if nobody is already doing so. |
@rushmorem Any progress on this? I'm also interested. Thanks! |
@artursoler I haven't had time to start working on it yet but it's still on my to do list. I hope to work on this sometime this month. |
I have now started working on this. The scripts to bootstrap a NixOS box will be available at https://github.com/WebEnchanter/nixos-bootstrapper. These are designed to work, not only on Linode but any cloud provider who provides a Debian (or debian based distro like Ubuntu) which should be pretty much any host out there. |
+1 Looking forward to this! |
Is anybody still actively working on this? |
I think there's a better way than StackScripts to get NixOS bootstrapped onto a Linode. A StackScript needs to run on top of an official Linode image, and after the script has executed the partition is still around wasting space. A better approach is to run the bootstrap script from a rescue image. Unfortunately, Linode rescue systems are only accessible via Lish, and Lish requires a terminal, but automation can use |
@dfoxfranke I'm still actively working on this but right now my hands are full with other commitments. I actually use |
You'd only need to use terminal to set root password and enable ssh daemon right? |
@rbvermaa I'm not sure I follow. Nixops still needs a NixOS base, right? |
@rbvermaa Correct. @rushmorem It does, but once ssh is spun up you can do the remaining bootstrapping via the usual |
@rushmorem Have you started working on the NixOps codebase, and if so do you have a fork somewhere? This looks like a tempting [couple of] weekend's hack but I want to avoid duplicating effort. |
@dfoxfranke I hadn't started working on the NixOps codebase yet, so knock yourself out ;) |
I've begun work on this at https://github.com/dfoxfranke/nixops/tree/linode. The first committed change implements support for managing StackScripts. This is completely useless, but made a nice exercise for learning my way around the NixOps codebase and the Linode API. |
@dfoxfranke Nice work! I'm really looking forward to linode support! 😃 |
I would love to use nixops and nix on linode! |
I've been taking a look at this, but have run into a couple of problems depending on which way I approach it. If I just install a Debian image and try to use nixos-infect (slightly modified to account for the different network devices) to overwrite it, then I bump into this problem with blkid #711 If I create a Linode and boot it into rescue mode, then curl doesn't work https://forum.linode.com/viewtopic.php?f=7&t=15039 |
any progress on this ??? |
Hi daniel, I'm really sorry, but I haven't done any more work on this. I no longer use NixOps or Linode at work. Someone has commented on my pull request that they are able to use it and it works for them. I believe it's just a matter of sorting out the testing to get it over the line. |
NixOps supports backends as plugins, so closing this. A plugin could be made :) |
There is a linode python library: https://github.com/tjfontaine/linode-python
The text was updated successfully, but these errors were encountered: