diff --git a/softwares/VirtualBox.sls b/softwares/VirtualBox.sls index bacccc7..20ef6b5 100644 --- a/softwares/VirtualBox.sls +++ b/softwares/VirtualBox.sls @@ -2,6 +2,14 @@ {% if grains['kernel'] == 'Linux' and grains['virtual'] == 'physical' %} +{% if grains['os_family'] == 'RedHat' %} +Installons les Prereq Kernel devel: + pkg.installed: + pkgs: + - kernel-devel + - dkms +{% endif %} + virtualbox_repository: pkgrepo.managed: {% if grains['os_family'] == 'RedHat' %} @@ -30,7 +38,7 @@ Installons l'ancienne version de libvpx: {% endif %} VirtualBox-5.2: - pkg.installed + pkg.installed virtualbox-guest-additions: pkg.removed