arch-create-system: add 'install-target' parameter

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-01-31 09:32:44 +01:00
parent 33f6ab2f41
commit f4caf9e5f5

View File

@@ -776,6 +776,10 @@ parse_params () {
dryrun=1
shift 1
;;
-i|--install|--install-target)
shift 1
cmd=install-target
;;
--mountpoint|--MOUNTPOINT)
mount_point="$2"
shift 2
@@ -1089,6 +1093,7 @@ usage () {
" --color Enable colored output messages" \
" --dry-run perform a trial run (no changes are written)" \
" --get-config-names show pre-defined configs from config-file" \
" -i, --install-target install system on given target" \
" --mountpoint Specify MountPoint preparing targets OS-Disk" \
" --label_prefix <prefix> Specify the partion label prefix" \
" -t, --disk_dev_root <target> Specify the blockdevice for the target OS (e.g /dev/sda)" \