diff options
author | Liam Hopkins <liamh@google.com> | 2019-08-09 12:02:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-09 12:02:36 -0700 |
commit | 324758120ce4ef7eaaf6cfcbbc0712dcf164d7bb (patch) | |
tree | ef9f0223752439cd0afa0adea9ed9b6029b594b2 /packages/python-google-compute-engine/google_compute_engine/compat.py | |
parent | 9f15b1c1407b01e28dcb066400eab3200ee4f850 (diff) | |
download | google-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.py | 4 |
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: |