diff options
author | Jon Grimm <jon.grimm@canonical.com> | 2017-04-03 11:52:42 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-04-12 12:32:27 -0400 |
commit | aab609104988b9d14572eb8fa1dd28a8156c0aea (patch) | |
tree | b8ecee2208280ba2592d17630aa3e2a7823d15de /cloudinit/distros/rhel.py | |
parent | cd83b77dd1804f90694891470c04514aaa74d18f (diff) | |
download | vyos-cloud-init-aab609104988b9d14572eb8fa1dd28a8156c0aea.tar.gz vyos-cloud-init-aab609104988b9d14572eb8fa1dd28a8156c0aea.zip |
Remove (and/or fix) URL shortener references
Several references that were using URL shorteners are now broken due to
their service going away, making it painful to even figure out what they
were supposed to be pointing at. Put back long URLS using '# noqa' to
make flake8 happy.
LP: #1669727
Diffstat (limited to 'cloudinit/distros/rhel.py')
-rw-r--r-- | cloudinit/distros/rhel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/distros/rhel.py b/cloudinit/distros/rhel.py index 372c7d0f..1fecb619 100644 --- a/cloudinit/distros/rhel.py +++ b/cloudinit/distros/rhel.py @@ -28,7 +28,7 @@ def _make_sysconfig_bool(val): class Distro(distros.Distro): - # See: http://tiny.cc/6r99fw + # See: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Network_Configuration_Using_sysconfig_Files.html # noqa clock_conf_fn = "/etc/sysconfig/clock" locale_conf_fn = '/etc/sysconfig/i18n' systemd_locale_conf_fn = '/etc/locale.conf' @@ -130,8 +130,8 @@ class Distro(distros.Distro): rhel_util.update_sysconfig_file(out_fn, host_cfg) def _select_hostname(self, hostname, fqdn): - # See: http://bit.ly/TwitgL # Should be fqdn if we can use it + # See: https://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-sysconfig.html#s2-sysconfig-network # noqa if fqdn: return fqdn return hostname |