summaryrefslogtreecommitdiff
path: root/cloudinit/distros/amazon.py
diff options
context:
space:
mode:
authorFrederick Lefebvre <fredlef@amazon.com>2019-12-06 21:18:24 +0000
committerFrederick Lefebvre <fredlef@amazon.com>2019-12-06 23:07:41 +0000
commit8620351be7cc8bcfee858be8190c37956a3f1c56 (patch)
tree51a96af96165906cd15734e8d4148db620c1c820 /cloudinit/distros/amazon.py
parentdac551be5cf048fd481316419a6aad46a2a11abb (diff)
downloadvyos-cloud-init-8620351be7cc8bcfee858be8190c37956a3f1c56.tar.gz
vyos-cloud-init-8620351be7cc8bcfee858be8190c37956a3f1c56.zip
Add an Amazon distro in the redhat OS family
From original work by: Andrew Jorgensen <ajorgens@amazon.com> Reviewed-by: Matt Nierzwicki <nierzwic@amazon.com> Reviewed-by: Ethan Faust <efaust@amazon.com>
Diffstat (limited to 'cloudinit/distros/amazon.py')
-rw-r--r--cloudinit/distros/amazon.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/cloudinit/distros/amazon.py b/cloudinit/distros/amazon.py
new file mode 100644
index 00000000..ff9a549f
--- /dev/null
+++ b/cloudinit/distros/amazon.py
@@ -0,0 +1,26 @@
+# Copyright (C) 2012 Canonical Ltd.
+# Copyright (C) 2012 Hewlett-Packard Development Company, L.P.
+# Copyright (C) 2012 Yahoo! Inc.
+# Copyright (C) 2014 Amazon.com, Inc. or its affiliates.
+#
+# Author: Scott Moser <scott.moser@canonical.com>
+# Author: Juerg Haefliger <juerg.haefliger@hp.com>
+# Author: Joshua Harlow <harlowja@yahoo-inc.com>
+# Author: Andrew Jorgensen <ajorgens@amazon.com>
+#
+# This file is part of cloud-init. See LICENSE file for license information.
+
+from cloudinit.distros import rhel
+
+from cloudinit import log as logging
+
+LOG = logging.getLogger(__name__)
+
+
+class Distro(rhel.Distro):
+
+ def update_package_sources(self):
+ return None
+
+
+# vi: ts=4 expandtab