mirror of
https://github.com/nix-community/nixos-anywhere.git
synced 2024-08-16 20:00:36 +03:00
drop unused arg flags
This commit is contained in:
parent
815059ff14
commit
70de0d8478
10
nixos-remote
10
nixos-remote
@ -12,10 +12,6 @@ Options:
|
||||
* -s, --store-paths
|
||||
set the store paths to the disko-script and nixos-system directly
|
||||
if this is give, flake is not needed
|
||||
* --arg name value
|
||||
pass value to nix-build. can be used to set disk-names for example
|
||||
* --argstr name value
|
||||
pass value to nix-build as string
|
||||
* --no-ssh-copy
|
||||
skip copying ssh-keys to target system
|
||||
* --kexec url
|
||||
@ -30,7 +26,6 @@ abort() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
nix_args=()
|
||||
kexec_url=https://github.com/nix-community/nixos-images/releases/download/nixos-22.05/nixos-kexec-installer-x86_64-linux.tar.gz
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
@ -45,11 +40,6 @@ while [[ $# -gt 0 ]]; do
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
--argstr | --arg)
|
||||
nix_args+=("$1" "$2" "$3")
|
||||
shift
|
||||
shift
|
||||
;;
|
||||
--help)
|
||||
showUsage
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user