diff --git a/archinstall.sh b/archinstall.sh index 05c67ae..73efc07 100755 --- a/archinstall.sh +++ b/archinstall.sh @@ -5,7 +5,7 @@ set -e # Stop on Errors scriptdir="$(dirname "$(readlink -f "$0")")" function show_help() { - echo "$0 -d [options]" + echo "$0 -d -h [options]" echo " A Semi-Automatic Archlinux Install Script" echo " -d Device to Install to" echo " -k Kernel Name to Install (default: linux-zen)" @@ -13,6 +13,7 @@ function show_help() { echo " -l Locale to use (default: de_DE)" echo " -m Console Keymap to use (default: de)" echo " -t Timezone to use (default: Europe/Berlin)" + echo " -h Set the Target Hostname" echo " -b Set System Type to BIOS (default: UEFI)" echo " -c Disable Encryption (default: enabled)" } @@ -102,7 +103,7 @@ if [[ "${systype}" == "x86_64-efi" ]]; then parted -s "$device" \ mklabel gpt \ mkpart ESP fat32 1MiB 513MiB \ - set esp 1 on \ + set 1 esp on \ mkpart arch 512MiB 100% part_esp="/dev/disk/by-partlabel/ESP" @@ -115,7 +116,7 @@ else parted -s "$device" \ mklabel gpt \ mkpart grub 1MiB 2MiB \ - set bios_grub 1 on \ + set 1 bios_grub on \ mkpart arch 2MiB 100% part_root="/dev/disk/by-partlabel/arch"