Modification du boot et donc de grub

This commit is contained in:
CLEMENT Iwan
2018-11-15 18:24:48 +01:00
parent d686562823
commit 62433b5eaa

View File

@@ -130,6 +130,15 @@ Lets install docker with pip:
# cmd.run: # cmd.run:
# - name: pip install docker # - name: pip install docker
Enable Cgroup:
file.append:
- name: /etc/defaults/grub
- text: 'GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"'
On rejoue update_grub:
cmd.run:
- name: update-grub
Recopions Le script de vérification: Recopions Le script de vérification:
file.managed: file.managed:
- source: salt://Scripts/check-config.sh - source: salt://Scripts/check-config.sh