diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-30 15:06:27 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-11-30 15:06:27 +0100 |
commit | bd80fd5cab6130e224b59553f201a2c6d5f90458 (patch) | |
tree | 662a4e8280a0ea81f1811ac5316b99a1a924553e /arch-installer.sh | |
parent | wip again (diff) | |
download | arch-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-x | arch-installer.sh | 11 |
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 |