~smoser/curtin/trunk.bzr-dead

« back to all changes in this revision

Viewing changes to curtin/__init__.py

  • Committer: Scott Moser
  • Date: 2017-12-20 17:33:03 UTC
  • Revision ID: smoser@ubuntu.com-20171220173303-29gha5qb8wpqrd40
README: Mention move of revision control to git.

curtin development has moved its revision control to git.
It is available at
  https://code.launchpad.net/curtin

Clone with
  git clone https://git.launchpad.net/curtin
or
  git clone git+ssh://git.launchpad.net/curtin

For more information see
  http://curtin.readthedocs.io/en/latest/topics/development.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#   Copyright (C) 2013 Canonical Ltd.
2
 
#
3
 
#   Author: Scott Moser <scott.moser@canonical.com>
4
 
#
5
 
#   Curtin is free software: you can redistribute it and/or modify it under
6
 
#   the terms of the GNU Affero General Public License as published by the
7
 
#   Free Software Foundation, either version 3 of the License, or (at your
8
 
#   option) any later version.
9
 
#
10
 
#   Curtin is distributed in the hope that it will be useful, but WITHOUT ANY
11
 
#   WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12
 
#   FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for
13
 
#   more details.
14
 
#
15
 
#   You should have received a copy of the GNU Affero General Public License
16
 
#   along with Curtin.  If not, see <http://www.gnu.org/licenses/>.
17
 
 
18
 
# This constant is made available so a caller can read it
19
 
# it must be kept the same as that used in helpers/common:get_carryover_params
20
 
KERNEL_CMDLINE_COPY_TO_INSTALL_SEP = "---"
21
 
 
22
 
# The 'FEATURES' variable is provided so that users of curtin
23
 
# can determine which features are supported.  Each entry should have
24
 
# a consistent meaning.
25
 
FEATURES = [
26
 
    # curtin can apply centos networking via centos_apply_network_config
27
 
    'CENTOS_APPLY_NETWORK_CONFIG',
28
 
    # install supports the 'network' config version 1
29
 
    'NETWORK_CONFIG_V1',
30
 
    # reporter supports 'webhook' type
31
 
    'REPORTING_EVENTS_WEBHOOK',
32
 
    # install supports the 'storage' config version 1
33
 
    'STORAGE_CONFIG_V1',
34
 
    # install supports the 'storage' config version 1 for DD images
35
 
    'STORAGE_CONFIG_V1_DD',
36
 
    # subcommand 'system-install' is present
37
 
    'SUBCOMMAND_SYSTEM_INSTALL',
38
 
    # subcommand 'system-upgrade' is present
39
 
    'SUBCOMMAND_SYSTEM_UPGRADE',
40
 
    # supports new format of apt configuration
41
 
    'APT_CONFIG_V1',
42
 
    # has version module
43
 
    'HAS_VERSION_MODULE',
44
 
]
45
 
 
46
 
__version__ = "17.1"
47
 
 
48
 
# vi: ts=4 expandtab syntax=python