arch-create-system: add 'install-target' parameter
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -776,6 +776,10 @@ parse_params () {
|
|||||||
dryrun=1
|
dryrun=1
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
|
-i|--install|--install-target)
|
||||||
|
shift 1
|
||||||
|
cmd=install-target
|
||||||
|
;;
|
||||||
--mountpoint|--MOUNTPOINT)
|
--mountpoint|--MOUNTPOINT)
|
||||||
mount_point="$2"
|
mount_point="$2"
|
||||||
shift 2
|
shift 2
|
||||||
@@ -1089,6 +1093,7 @@ usage () {
|
|||||||
" --color Enable colored output messages" \
|
" --color Enable colored output messages" \
|
||||||
" --dry-run perform a trial run (no changes are written)" \
|
" --dry-run perform a trial run (no changes are written)" \
|
||||||
" --get-config-names show pre-defined configs from config-file" \
|
" --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" \
|
" --mountpoint Specify MountPoint preparing targets OS-Disk" \
|
||||||
" --label_prefix <prefix> Specify the partion label prefix" \
|
" --label_prefix <prefix> Specify the partion label prefix" \
|
||||||
" -t, --disk_dev_root <target> Specify the blockdevice for the target OS (e.g /dev/sda)" \
|
" -t, --disk_dev_root <target> Specify the blockdevice for the target OS (e.g /dev/sda)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user