aboutsummaryrefslogtreecommitdiffstats
path: root/arch-installer.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-30 15:00:35 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-30 15:00:35 +0100
commit731135fc1828d11dfb1d536c0863eb4b2be72ed8 (patch)
tree4b2ae727e9b374351074eb601a3a6177baf6994a /arch-installer.sh
parentwip (diff)
downloadarch-installer-731135fc1828d11dfb1d536c0863eb4b2be72ed8.tar.gz
arch-installer-731135fc1828d11dfb1d536c0863eb4b2be72ed8.tar.bz2
arch-installer-731135fc1828d11dfb1d536c0863eb4b2be72ed8.tar.xz
arch-installer-731135fc1828d11dfb1d536c0863eb4b2be72ed8.tar.zst
arch-installer-731135fc1828d11dfb1d536c0863eb4b2be72ed8.zip
wip again
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-xarch-installer.sh42
1 files changed, 24 insertions, 18 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index 623cd28..bb0600c 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -103,21 +103,20 @@ components to install:" 10 50 3 \
jo_get_vm() {
if dialog --title "$1"\
- --yesno "Are you running in a virtual machine?"\
- 6 45; then
- sel=$(dialog --nocancel --title "$1"\
- --radiolist "Which hypervisor are you using?" 10 50 3 \
- vbox "Oracle VirtualBox" on \
- vmware "VMware" off \
- other "Something else" off \
- 3>&1 1>&2 2>&3 3>&-)
- if echo -n "$sel" | grep -q vbox; then
- vbox=true
- elif echo -n "$sel" | grep -q utils; then
- vmware=true
- fi
+ --yesno "Are you running in a virtual machine?"\
+ 6 45; then
+ sel=$(dialog --nocancel --title "$1"\
+ --radiolist "Which hypervisor are you using?" 10 50 3 \
+ vbox "Oracle VirtualBox" on \
+ vmware "VMware" off \
+ other "Something else" off \
+ 3>&1 1>&2 2>&3 3>&-)
+ if echo -n "$sel" | grep -q vbox; then
+ vbox=true
+ elif echo -n "$sel" | grep -q utils; then
+ vmware=true
+ fi
fi
-
}
#==================================================================================================#
#------------------------------------------ DISK SETUP --------------------------------------------#
@@ -516,19 +515,26 @@ jo_pacstrap mkinitcpio 65
if [ "$ltskern" = true ]; then
jo_pacstrap linux-lts 70
jo_pacstrap linux-lts-headers 75
+ if [ "$vbox" = true ]; then
+ jo_pacstrap virtualbox-guest-modules-arch 75
+ fi
else
jo_pacstrap linux 70
jo_pacstrap linux-headers 75
+ if [ "$vbox" = true ]; then
+ jo_pacstrap virtualbox-guest-dkms 75
+ fi
fi
if [ "$intelamdcpu" = "intel" ]; then
jo_pacstrap intel-ucode 80
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 [ "$vmware" = true ]; then
+ jo_pacstrap open-vm-tools 75
+fi
+if [ "$vmware" = true ]; then
+fi
if [ "$isusr" = true ]; then
if [ "$usrshell" = "zsh" ]; then
jo_pacstrap zsh 95