2015-04-26 13:53:00 +00:00
|
|
|
from orchestra.settings import Setting
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
VPS_TYPES = Setting('VPS_TYPES',
|
|
|
|
(
|
2015-04-27 12:24:17 +00:00
|
|
|
('openvz', 'OpenVZ container'),
|
|
|
|
),
|
|
|
|
validators=[Setting.validate_choices]
|
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
VPS_DEFAULT_TYPE = Setting('VPS_DEFAULT_TYPE',
|
|
|
|
'openvz',
|
|
|
|
choices=VPS_TYPES
|
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
VPS_TEMPLATES = Setting('VPS_TEMPLATES',
|
|
|
|
(
|
2015-04-27 12:24:17 +00:00
|
|
|
('debian7', 'Debian 7 - Wheezy'),
|
|
|
|
),
|
|
|
|
validators=[Setting.validate_choices]
|
|
|
|
)
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
|
2015-04-27 14:54:17 +00:00
|
|
|
VPS_DEFAULT_TEMPLATE = Setting('VPS_DEFAULT_TEMPLATE',
|
|
|
|
'debian7',
|
|
|
|
choices=VPS_TEMPLATES
|
|
|
|
)
|