-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
nixos-remote: add --skip-disko flag #69
Conversation
README.md
Outdated
@@ -64,6 +64,8 @@ Options: | |||
do not reboot after installation, allowing further customization of the target installation. | |||
* --kexec url | |||
use another kexec tarball to bootstrap NixOS | |||
* --skip-disko |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* --skip-disko | |
* --skip-partitioning |
src/nixos-anywhere.sh
Outdated
nix_copy --to "ssh://$ssh_connection" "$disko_script" | ||
ssh_ "$disko_script" | ||
if [[ ${skip_disko} == "y" ]]; then | ||
echo "Skipping disko (partitioning)." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should actually mount instead of partitioning.
We actually would need mount support first before tackling this. |
another idea is to have a flag for phases: |
I am also interested in this, as reformatting the root disk is a bit tricky for my usecase. |
We now have configurable phases as an alternative. |
Cherry-picked from #50