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

nixos-remote: add --skip-disko flag #69

Closed
wants to merge 3 commits into from
Closed

nixos-remote: add --skip-disko flag #69

wants to merge 3 commits into from

Conversation

Mic92
Copy link
Member

@Mic92 Mic92 commented Feb 9, 2023

Cherry-picked from #50

@Mic92 Mic92 marked this pull request as draft February 9, 2023 09:56
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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* --skip-disko
* --skip-partitioning

nix_copy --to "ssh://$ssh_connection" "$disko_script"
ssh_ "$disko_script"
if [[ ${skip_disko} == "y" ]]; then
echo "Skipping disko (partitioning)."
Copy link
Member Author

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.

@Mic92 Mic92 closed this May 15, 2023
@Mic92
Copy link
Member Author

Mic92 commented May 15, 2023

We actually would need mount support first before tackling this.

@pogobanane
Copy link
Contributor

another idea is to have a flag for phases: kexec, reformat, install, reboot

@pogobanane pogobanane reopened this Sep 20, 2023
@pogobanane pogobanane marked this pull request as ready for review September 25, 2023 08:38
@SuperSandro2000
Copy link
Member

I am also interested in this, as reformatting the root disk is a bit tricky for my usecase.

@Mic92
Copy link
Member Author

Mic92 commented Sep 10, 2024

We now have configurable phases as an alternative.

@Mic92 Mic92 closed this Sep 10, 2024
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

Successfully merging this pull request may close these issues.

3 participants