mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
d6caacd1e4
Convert openvzLocateConfFile to a replaceable function pointer to allow testing the config file parsing without rewriting the whole OpenVZ config parsing to a more testable structure.
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# sample config from http://blog.lystor.org.ua/2009/11/openvz-configuration-example.html
|
|
|
|
ONBOOT="yes"
|
|
|
|
# Primary parameters
|
|
NUMPROC="8000:8000"
|
|
AVNUMPROC="2257:2257"
|
|
NUMTCPSOCK="8000:8000"
|
|
NUMOTHERSOCK="8000:8000"
|
|
VMGUARPAGES="360000:360000"
|
|
|
|
# Secondary parameters
|
|
KMEMSIZE="184953241:203448565"
|
|
TCPSNDBUF="28883080:61651080"
|
|
TCPRCVBUF="28883080:61651080"
|
|
OTHERSOCKBUF="14441540:47209540"
|
|
DGRAMRCVBUF="14441540:14441540"
|
|
OOMGUARPAGES="360000:360000"
|
|
PRIVVMPAGES="360000:360000"
|
|
|
|
# Auxiliary parameters
|
|
LOCKEDPAGES="9030:9030"
|
|
SHMPAGES="15506:15506"
|
|
PHYSPAGES="0:2147483647"
|
|
NUMFILE="72224:72224"
|
|
NUMFLOCK="1000:1100"
|
|
NUMPTY="512:512"
|
|
NUMSIGINFO="1024:1024"
|
|
DCACHESIZE="40389343:41601024"
|
|
NUMIPTENT="200:200"
|
|
DISKSPACE="107733379:118506717"
|
|
DISKINODES="55287781:60816560"
|
|
CPUUNITS="150550"
|
|
|
|
# Disk quota parameters (in form of softlimit:hardlimit)
|
|
DISKSPACE=""
|
|
DISKINODES=""
|
|
QUOTATIME=""
|
|
DISK_QUOTA=no
|
|
OSTEMPLATE="rhel-5-lystor"
|
|
IP_ADDRESS="194.44.18.88"
|
|
NETIF="ifname=eth10,mac=00:18:51:C1:05:EE,host_ifname=veth105.10,host_mac=00:18:51:8F:D9:F3
|