From b2a9f33616c806ae6e052520a8589113308f567c Mon Sep 17 00:00:00 2001 From: Jon Grimm Date: Tue, 22 Nov 2016 17:09:53 -0600 Subject: LICENSE: Allow dual licensing GPL-3 or Apache 2.0 This has been a recurring ask and we had initially just made the change to the cloud-init 2.0 codebase. As the current thinking is we'll just continue to enhance the current codebase, its desirable to relicense to match what we'd intended as part of the 2.0 plan here. - put a brief description of license in LICENSE file - put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0 - simplify the per-file header to reference LICENSE - tox: ignore H102 (Apache License Header check) Add license header to files that ship. Reformat headers, make sure everything has vi: at end of file. Non-shipping files do not need the copyright header, but at the moment tests/ have it. --- tests/unittests/test_handler/test_handler_mounts.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/unittests/test_handler/test_handler_mounts.py') diff --git a/tests/unittests/test_handler/test_handler_mounts.py b/tests/unittests/test_handler/test_handler_mounts.py index 355674b2..650ca0ec 100644 --- a/tests/unittests/test_handler/test_handler_mounts.py +++ b/tests/unittests/test_handler/test_handler_mounts.py @@ -1,3 +1,5 @@ +# This file is part of cloud-init. See LICENSE file for license information. + import os.path import shutil import tempfile @@ -131,3 +133,5 @@ class TestSanitizeDevname(test_helpers.FilesystemMockingTestCase): self.assertIsNone( cc_mounts.sanitize_devname( 'ephemeral0.1', lambda x: disk_path, mock.Mock())) + +# vi: ts=4 expandtab -- cgit v1.2.3