-
-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
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:
$ nix run .#nixosConfigurations.my-microvm.config.microvm.deploy.rebuild root@host root@target switch
Usage: /nix/store/kxrflcsnx1zayqaa389mn9zbfn9c3bby-microvm-rebuild/bin/microvm-rebuild root@<host> root@<target> [--use-remote-sudo] switch
Looking at the code, this makes sense, the conditional wrapping the "Usage" print will always trigger when "switch" is passed.
Handling the "switch" isn't implemented AFAICT.
Metadata
Metadata
Assignees
Labels
No labels