summaryrefslogtreecommitdiff
path: root/packages/python-google-compute-engine/google_compute_engine/compat.py
diff options
context:
space:
mode:
authorLiam Hopkins <liamh@google.com>2019-08-09 12:02:36 -0700
committerGitHub <noreply@github.com>2019-08-09 12:02:36 -0700
commit324758120ce4ef7eaaf6cfcbbc0712dcf164d7bb (patch)
treeef9f0223752439cd0afa0adea9ed9b6029b594b2 /packages/python-google-compute-engine/google_compute_engine/compat.py
parent9f15b1c1407b01e28dcb066400eab3200ee4f850 (diff)
downloadgoogle-compute-image-packages-324758120ce4ef7eaaf6cfcbbc0712dcf164d7bb.tar.gz
Detect hostname changes (#835)
* Restart primary networking to detect new hostname.
Diffstat (limited to 'packages/python-google-compute-engine/google_compute_engine/compat.py')
-rw-r--r--packages/python-google-compute-engine/google_compute_engine/compat.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/python-google-compute-engine/google_compute_engine/compat.py b/packages/python-google-compute-engine/google_compute_engine/compat.py
index 3d18c12..08bd0ed 100644
--- a/packages/python-google-compute-engine/google_compute_engine/compat.py
+++ b/packages/python-google-compute-engine/google_compute_engine/compat.py
@@ -48,12 +48,8 @@ elif 'red hat enterprise linux' in distro_name:
import google_compute_engine.distro_lib.el_7.utils as distro_utils
elif 'fedora' in distro_name:
import google_compute_engine.distro_lib.el_7.utils as distro_utils
-elif 'debian' in distro_name and distro_version == '8':
- import google_compute_engine.distro_lib.debian_8.utils as distro_utils
elif 'debian' in distro_name:
import google_compute_engine.distro_lib.debian_9.utils as distro_utils
-elif 'suse' in distro_name and distro_version == '11':
- import google_compute_engine.distro_lib.sles_11.utils as distro_utils
elif 'suse' in distro_name:
import google_compute_engine.distro_lib.sles_12.utils as distro_utils
elif 'freebsd' in distro_name: