mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-17 04:10:36 +03:00
nixos-anywhere: rename --skip-disko to --skip-reformat
This commit is contained in:
parent
c1251e3b87
commit
e32566b1a3
@ -64,8 +64,8 @@ Options:
|
|||||||
do not reboot after installation, allowing further customization of the target installation.
|
do not reboot after installation, allowing further customization of the target installation.
|
||||||
* --kexec url
|
* --kexec url
|
||||||
use another kexec tarball to bootstrap NixOS
|
use another kexec tarball to bootstrap NixOS
|
||||||
* --skip-disko
|
* --skip-reformat
|
||||||
dont format disks with disko
|
dont format disks with disko (only mount)
|
||||||
* --stop-after-disko
|
* --stop-after-disko
|
||||||
exit after disko formating, you can then proceed to install manually or some other way
|
exit after disko formating, you can then proceed to install manually or some other way
|
||||||
* --extra-files files
|
* --extra-files files
|
||||||
|
@ -15,8 +15,8 @@ Options:
|
|||||||
do not reboot after installation, allowing further customization of the target installation.
|
do not reboot after installation, allowing further customization of the target installation.
|
||||||
* --kexec url
|
* --kexec url
|
||||||
use another kexec tarball to bootstrap NixOS
|
use another kexec tarball to bootstrap NixOS
|
||||||
* --skip-disko
|
* --skip-reformat
|
||||||
dont format disks with disko
|
dont format disks with disko (only mount)
|
||||||
* --stop-after-disko
|
* --stop-after-disko
|
||||||
exit after disko formating, you can then proceed to install manually or some other way
|
exit after disko formating, you can then proceed to install manually or some other way
|
||||||
* --extra-files files
|
* --extra-files files
|
||||||
@ -91,8 +91,8 @@ while [[ $# -gt 0 ]]; do
|
|||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
--skip-disko)
|
--skip-reformat)
|
||||||
skip_disko=y
|
skip_reformat=y
|
||||||
;;
|
;;
|
||||||
--stop-after-disko)
|
--stop-after-disko)
|
||||||
stop_after_disko=y
|
stop_after_disko=y
|
||||||
@ -299,7 +299,7 @@ for path in "${!disk_encryption_keys[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
nix_copy --to "ssh://$ssh_connection" "$disko_script"
|
nix_copy --to "ssh://$ssh_connection" "$disko_script"
|
||||||
if [[ ${skip_disko} == "y" ]]; then
|
if [[ ${skip_reformat} == "y" ]]; then
|
||||||
echo "Skipping disko partitioning (only do mount)."
|
echo "Skipping disko partitioning (only do mount)."
|
||||||
ssh_ "$disko_script -m mount"
|
ssh_ "$disko_script -m mount"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user