Browse Source

Remove parameter

tags/2016.12
Filip Pytloun 9 years ago
parent
commit
35896ff811
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/system/kernel.sls

+ 1
- 1
linux/system/kernel.sls View File

@@ -20,7 +20,7 @@ linux_kernel_package:
# Not very Salt-ish.. :-(
linux_kernel_old_absent:
cmd.wait:
- name: "apt-get purge -y --no-input $(dpkg -l '*linux-image-[0-9]*' '*linux-headers-[0-9]*' '*linux-extra-[0-9]*' | grep -E '^ii' | awk '{print $2}' | grep -v '{{ system.kernel.version }}')"
- name: "apt-get purge -y $(dpkg -l '*linux-image-[0-9]*' '*linux-headers-[0-9]*' '*linux-extra-[0-9]*' | grep -E '^ii' | awk '{print $2}' | grep -v '{{ system.kernel.version }}')"
- watch:
- pkg: linux_kernel_package


Loading…
Cancel
Save