Merge "Change the percentage of var and temp to spare more for system"

This commit is contained in:
Jenkins 2014-03-31 17:11:17 +00:00 committed by Gerrit Code Review
commit 21cdb772ef

View File

@ -67,9 +67,9 @@ STORAGE_NETMASK = '255.255.255.0'
STORAGE_IP_GATEWAY = '172.16.100.1' STORAGE_IP_GATEWAY = '172.16.100.1'
STORAGE_NIC = 'eth0' STORAGE_NIC = 'eth0'
STORAGE_PROMISC = 0 STORAGE_PROMISC = 0
HOME_PERCENTAGE = 40 HOME_PERCENTAGE = 5
TMP_PERCENTAGE = 10 TMP_PERCENTAGE = 5
VAR_PERCENTAGE = 15 VAR_PERCENTAGE = 10
#ROLES_LIST = [['os-dashboard']] #ROLES_LIST = [['os-dashboard']]
PRESET_VALUES = { PRESET_VALUES = {
@ -230,8 +230,8 @@ print 'set networking config to cluster %s status: %s, resp: %s' % (
status, resp = client.set_partition( status, resp = client.set_partition(
cluster_id, cluster_id,
home_percentage=HOME_PERCENTAGE, home_percentage=HOME_PERCENTAGE,
tmp_partition_percentage=TMP_PERCENTAGE, tmp_percentage=TMP_PERCENTAGE,
var_partition_percentage=VAR_PERCENTAGE) var_percentage=VAR_PERCENTAGE)
print 'set partition config to cluster %s status: %s, resp: %s' % ( print 'set partition config to cluster %s status: %s, resp: %s' % (
cluster_id, status, resp) cluster_id, status, resp)