Skip to content

Instantly share code, notes, and snippets.

View jfchevrette's full-sized avatar

Jean-Francois Chevrette jfchevrette

  • Red Hat, Inc.
  • Montreal, Canada
View GitHub Profile
<?xml version="1.0" ?>
<lveconfig>
<defaults>
<cpu limit="25"/>
<ncpu limit="1"/>
<io limit="100"/>
<mem limit="262144"/>
<other maxentryprocs="25"/>
<pmem limit="262144"/>
<nproc limit="25"/>
@jfchevrette
jfchevrette / gist:2820851
Created May 28, 2012 19:39
salt disable selinux
/etc/sysconfig/selinux:
file.sed:
- before: 'enforcing'
- after: 'disabled'
- limit: '^SELINUX='
------------------------
# cat /etc/sysconfig/selinux
@jfchevrette
jfchevrette / gist:1112189
Created July 28, 2011 18:31
Ohai plugin to force the platform to centos
We couldn’t find that file to show.
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
imap <up> <nop>
imap <down> <nop>
imap <left> <nop>
imap <right> <nop>