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

Quickstart guide command no longer behaves the same, aborted: mode must be either format, mount or disko #876

Open
Nikola-Milovic opened this issue Nov 13, 2024 · 1 comment
Labels
documentation Issue that would be fixed by proper documentation

Comments

@Nikola-Milovic
Copy link

This command from the quickstart guide seems to behave differently
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount /tmp/disk-config.nix

[nixos@nixos:~]$ sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode destroy,format,mount ./disko.nix
disko version 1.9.0
aborted: mode must be either format, mount or disko

I used to be able to just copy it over and have it work, now it says that mode is invalid, so I have to first format then mount. Not sure if there were any changes since I tried this a month ago

@iFreilicht
Copy link
Contributor

Ahhh we released the update to the docs without releasing the change itself, that was dumb. Please use --mode disko for now.

@iFreilicht iFreilicht added the documentation Issue that would be fixed by proper documentation label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issue that would be fixed by proper documentation
Projects
None yet
Development

No branches or pull requests

2 participants