From 759e0b745da66d396d9f486f2c00cfa49dfa8a91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sun, 2 Dec 2018 12:46:25 +0100 Subject: [PATCH] Ajout des prereq --- softwares/VirtualBox.sls | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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