Modification du boot et donc de grub
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user