summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-02-04 15:41:16 -0500
committerScott Moser <smoser@ubuntu.com>2010-02-04 15:41:16 -0500
commitfbe3e44bf2bfab041a1d023b9630ff6227d8a7b2 (patch)
tree5b1308246353fa3a3844f8f2049a4d424714aa7a
parent41cfaced3fb95062d00e68c42c16e927e7f9036e (diff)
downloadvyos-cloud-init-fbe3e44bf2bfab041a1d023b9630ff6227d8a7b2.tar.gz
vyos-cloud-init-fbe3e44bf2bfab041a1d023b9630ff6227d8a7b2.zip
add copyright information
-rwxr-xr-xcloud-init-cfg.py16
-rwxr-xr-xcloud-init-run-module.py16
-rwxr-xr-xcloud-init.py16
-rw-r--r--cloudinit/CloudConfig.py1
-rw-r--r--cloudinit/DataSource.py15
-rw-r--r--cloudinit/DataSourceEc2.py16
-rw-r--r--cloudinit/UserDataHandler.py15
-rw-r--r--cloudinit/execute.py15
-rw-r--r--cloudinit/util.py15
9 files changed, 124 insertions, 1 deletions
diff --git a/cloud-init-cfg.py b/cloud-init-cfg.py
index 9260a767..8c332abb 100755
--- a/cloud-init-cfg.py
+++ b/cloud-init-cfg.py
@@ -1,4 +1,20 @@
#!/usr/bin/python
+#
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import cloudinit
diff --git a/cloud-init-run-module.py b/cloud-init-run-module.py
index de52f116..5a30b081 100755
--- a/cloud-init-run-module.py
+++ b/cloud-init-run-module.py
@@ -1,4 +1,20 @@
#!/usr/bin/python
+#
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys
import cloudinit
diff --git a/cloud-init.py b/cloud-init.py
index 723ae3df..b48d4672 100755
--- a/cloud-init.py
+++ b/cloud-init.py
@@ -1,4 +1,20 @@
#!/usr/bin/python
+#
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import subprocess
import sys
diff --git a/cloudinit/CloudConfig.py b/cloudinit/CloudConfig.py
index 4a498866..e15d8f19 100644
--- a/cloudinit/CloudConfig.py
+++ b/cloudinit/CloudConfig.py
@@ -1,5 +1,4 @@
#
-# Common code for the EC2 configuration files in Ubuntu
# Copyright (C) 2008-2010 Canonical Ltd.
#
# Author: Chuck Short <chuck.short@canonical.com>
diff --git a/cloudinit/DataSource.py b/cloudinit/DataSource.py
index 9af2eda4..07e08a36 100644
--- a/cloudinit/DataSource.py
+++ b/cloudinit/DataSource.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import cloudinit
import UserDataHandler as ud
diff --git a/cloudinit/DataSourceEc2.py b/cloudinit/DataSourceEc2.py
index a4906af2..aeab7d5a 100644
--- a/cloudinit/DataSourceEc2.py
+++ b/cloudinit/DataSourceEc2.py
@@ -1,3 +1,19 @@
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import DataSource
import cloudinit
diff --git a/cloudinit/UserDataHandler.py b/cloudinit/UserDataHandler.py
index 56feb0ff..1c9cee27 100644
--- a/cloudinit/UserDataHandler.py
+++ b/cloudinit/UserDataHandler.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import email
from email.mime.multipart import MIMEMultipart
diff --git a/cloudinit/execute.py b/cloudinit/execute.py
index 033da8f7..b250e354 100644
--- a/cloudinit/execute.py
+++ b/cloudinit/execute.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
def run(list,cfg):
import subprocess
retcode = subprocess.call(list)
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 9b9f6f4d..596054f2 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -1,3 +1,18 @@
+# Copyright (C) 2009-2010 Canonical Ltd.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 3, as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
import yaml
import os
import errno