# Copyright (C) 2012 Yahoo! Inc. # # Author: Joshua Harlow # # This file is part of cloud-init. See LICENSE file for license information. __VERSION__ = "24.1.3" _PACKAGED_VERSION = "24.1.3-0ubuntu3.3" FEATURES = [ # supports network config version 1 "NETWORK_CONFIG_V1", # supports network config version 2 (netplan) "NETWORK_CONFIG_V2", ] def version_string(): """Extract a version string from cloud-init.""" if not _PACKAGED_VERSION.startswith("@@"): return _PACKAGED_VERSION return __VERSION__