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

Node name cannot contain . #307

Open
ReneHollander opened this issue Dec 25, 2024 · 2 comments
Open

Node name cannot contain . #307

ReneHollander opened this issue Dec 25, 2024 · 2 comments

Comments

@ReneHollander
Copy link

ReneHollander commented Dec 25, 2024

Hello!

The node name cannot contain a . character:

[rene@renespc:~/repositories/infra]$ nix run github:serokell/deploy-rs -- -d .#"chwei01.serv0r.xyz"
πŸš€ ❌ [deploy] [ERROR] Error parsing flake: Unrecognized node or token encountered

I would like to do that because it allows me to have the same name between hostname, nixosConfiguration and the deploy rs configuration.

@ReneHollander
Copy link
Author

As per usual I figured it out a few minutes later: deploy-rs does not like the node name to contain ..

Updated the issue title accordingly.

@ReneHollander ReneHollander changed the title Unrecognized node or token encountered Node name cannot contain . Dec 25, 2024
@Munksgaard
Copy link

You can fix this by wrapping the node name in single quotes and adding a dot at the end:

nix run github:serokell/deploy-rs -- -d '.#"chwei01.serv0r.xyz".'

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
@Munksgaard @ReneHollander and others