summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_resolv_conf.py
diff options
context:
space:
mode:
authorJuerg Haefliger <juergh@gmail.com>2013-07-17 15:46:58 -0400
committerScott Moser <smoser@ubuntu.com>2013-07-17 15:46:58 -0400
commit1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35 (patch)
tree8bfb54ecf85b55b663f9b182789141df59cc0446 /cloudinit/config/cc_resolv_conf.py
parent8f70bb7e7144f2225b4e9a589d16ae6d15992a3d (diff)
parent67162bca0c49d415f92aefa22972fd3ffe179da6 (diff)
downloadvyos-cloud-init-1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35.tar.gz
vyos-cloud-init-1edfb2a7a36a2bdddfe0ca48ba5d23721bf17a35.zip
adds support for SLES plus some basic unittests.
Some code from the RHEL handler was moved to a new file so that it can be used by the SLES handler.
Diffstat (limited to 'cloudinit/config/cc_resolv_conf.py')
-rw-r--r--cloudinit/config/cc_resolv_conf.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cloudinit/config/cc_resolv_conf.py b/cloudinit/config/cc_resolv_conf.py
index 8a460f7e..879b62b1 100644
--- a/cloudinit/config/cc_resolv_conf.py
+++ b/cloudinit/config/cc_resolv_conf.py
@@ -1,8 +1,10 @@
# vi: ts=4 expandtab
#
# Copyright (C) 2013 Craig Tracey
+# Copyright (C) 2013 Hewlett-Packard Development Company, L.P.
#
# Author: Craig Tracey <craigtracey@gmail.com>
+# Author: Juerg Haefliger <juerg.haefliger@hp.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
@@ -53,7 +55,7 @@ from cloudinit import util
frequency = PER_INSTANCE
-distros = ['fedora', 'rhel']
+distros = ['fedora', 'rhel', 'sles']
def generate_resolv_conf(cloud, log, params):