cloudstack/plugins/hypervisors/ovm/scripts/vm/hypervisor/ovm
Vincent Bernat f2b8f2eade sysctl: don't modify /etc/sysctl.conf
To configure firewall rules, CloudStack modifies `/etc/sysctl.conf` and
execute those modifications. This may be harmful for several reasons:

 1. `/etc/sysctl.conf` may be managed by some configuration management
    system. Such a system will constantly restore the previous version.

 2. `/etc/sysctl.conf` may contain additional properties that have been
    changed later by some system administrator (for example, once a
    firewall has been configured, forwarding may have been activated
    while it is disabled in `/etc/sysctl.conf`). Executing the file
    again at a later time may disrupt the system.

 3. Entries are added again and again. `/etc/sysctl.conf` will contain
    the same directives repeated several times.

Using a configuration file is not needed as `sysctl` is able to directly
modify sysctl values with `-w` flag.

Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
2015-09-04 14:31:09 +02:00
..
ConfigFileOps.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmCommonModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmDiskModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmDispatcher.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmFaultConstants.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmHaHeartBeatModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmHostModule.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmLoggerModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmNetworkModule.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmOCFS2Module.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmObjectModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmSecurityGroupModule.py sysctl: don't modify /etc/sysctl.conf 2015-09-04 14:31:09 +02:00
OvmStoragePoolModule.py License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00
OvmVifModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmVmModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
OvmVolumeModule.py Remove @author tag from non third-party source files in plugins folder 2012-08-13 15:04:30 +08:00
configureOvm.sh License header updates for the ovm folder from Chip Childers 2012-07-02 09:52:55 -04:00