diff options
author | Joe <bousset.rudy@gmail.com> | 2019-11-30 13:30:48 +0100 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2019-11-30 13:30:48 +0100 |
commit | 9ab6d20fd2d8953e077c8efee61a54474caa3865 (patch) | |
tree | 423d7e399813d98745b8c5a6c83e225eabbb57a3 | |
parent | Adding options for virtal guests (diff) | |
download | arch-installer-9ab6d20fd2d8953e077c8efee61a54474caa3865.tar.gz arch-installer-9ab6d20fd2d8953e077c8efee61a54474caa3865.tar.bz2 arch-installer-9ab6d20fd2d8953e077c8efee61a54474caa3865.tar.xz arch-installer-9ab6d20fd2d8953e077c8efee61a54474caa3865.tar.zst arch-installer-9ab6d20fd2d8953e077c8efee61a54474caa3865.zip |
wip
-rwxr-xr-x | arch-installer.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch-installer.sh b/arch-installer.sh index a01efba..623cd28 100755 --- a/arch-installer.sh +++ b/arch-installer.sh @@ -104,10 +104,9 @@ components to install:" 10 50 3 \ jo_get_vm() { if dialog --title "$1"\ --yesno "Are you running in a virtual machine?"\ - 5 45; then + 6 45; then sel=$(dialog --nocancel --title "$1"\ - --radiolist "Which hypervisor are you using\ - components to install:" 10 50 3 \ + --radiolist "Which hypervisor are you using?" 10 50 3 \ vbox "Oracle VirtualBox" on \ vmware "VMware" off \ other "Something else" off \ @@ -526,6 +525,10 @@ if [ "$intelamdcpu" = "intel" ]; then elif [ "$intelamdcpu" = "amd" ]; then jo_pacstrap amd-ucode 80 fi +if [ "$vbox" = true ]; then + jo_pacstrap virtualbox-guest-utils 85 +elif [ "$vmware" = true ]; then + if [ "$isusr" = true ]; then if [ "$usrshell" = "zsh" ]; then jo_pacstrap zsh 95 |