drop unused arg flags

This commit is contained in:
Jörg Thalheim 2022-12-09 15:43:28 +01:00
parent 815059ff14
commit 70de0d8478

View File

@ -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