aboutsummaryrefslogtreecommitdiffstats
path: root/arch-installer.sh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-11-30 15:06:27 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-11-30 15:06:27 +0100
commitbd80fd5cab6130e224b59553f201a2c6d5f90458 (patch)
tree662a4e8280a0ea81f1811ac5316b99a1a924553e /arch-installer.sh
parentwip again (diff)
downloadarch-installer-bd80fd5cab6130e224b59553f201a2c6d5f90458.tar.gz
arch-installer-bd80fd5cab6130e224b59553f201a2c6d5f90458.tar.bz2
arch-installer-bd80fd5cab6130e224b59553f201a2c6d5f90458.tar.xz
arch-installer-bd80fd5cab6130e224b59553f201a2c6d5f90458.tar.zst
arch-installer-bd80fd5cab6130e224b59553f201a2c6d5f90458.zip
Should be nice with hypervisors
Diffstat (limited to 'arch-installer.sh')
-rwxr-xr-xarch-installer.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch-installer.sh b/arch-installer.sh
index bb0600c..cb33531 100755
--- a/arch-installer.sh
+++ b/arch-installer.sh
@@ -1,6 +1,3 @@
-#!/bin/bash
-
-#==================================================================================================#
#------------------------------------ VARIABLES DECLARATION ---------------------------------------#
#==================================================================================================#
ltskern=false
@@ -438,6 +435,12 @@ $rtpwd
$rtpwd
JO_PWD
arch-chroot /mnt/arch systemctl enable NetworkManager
+ if [ "$vbox" = true ]; then
+ arch-chroot /mnt/arch systemctl enable vboxservice
+ elif [ "$vmware" = true ]; then
+ arch-chroot /mnt/arch systemctl enable vmtoolsd
+ arch-chroot /mnt/arch systemctl enable vmware-vmblock-fuse
+ fi
arch-chroot /mnt/arch sed -i 's/#ForwardToSyslog=no/ForwardToSyslog=yes/' /etc/systemd/journald.conf
if [ "$isusr" = true ]; then
if [ "$isusrsudo" = true ]; then
@@ -533,8 +536,6 @@ fi
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