-
-
Notifications
You must be signed in to change notification settings - Fork 121
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
rebuild
helper script does not work with the switch
arg
#335
Comments
Yeah, the arguments handling needs to be revised. IIRC that was the main reason I haven't tagged a stable version in a long time. |
Which commands do you want it to support besides switch? |
|
I read in another comment that there are plans to rewrite some scripts in python. Does that include this one? I could submit a PR either in bash or python. |
bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the docs, this should work:
nix run .#nixosConfigurations.my-microvm.config.microvm.deploy.rebuild [email protected] [email protected] switch
But when I run this I always get:
Looking at the code, this makes sense, the conditional wrapping the "Usage" print will always trigger when "switch" is passed.
microvm.nix/nixos-modules/microvm/ssh-deploy.nix
Lines 214 to 240 in d3a9b75
Handling the "switch" isn't implemented AFAICT.
The text was updated successfully, but these errors were encountered: