diff options
Diffstat (limited to 'cloudinit/distros')
-rw-r--r-- | cloudinit/distros/debian.py | 3 | ||||
-rw-r--r-- | cloudinit/distros/parsers/hosts.py | 4 | ||||
-rw-r--r-- | cloudinit/distros/rhel.py | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/cloudinit/distros/debian.py b/cloudinit/distros/debian.py index 3f0f9d53..16f8d955 100644 --- a/cloudinit/distros/debian.py +++ b/cloudinit/distros/debian.py @@ -143,8 +143,7 @@ class Distro(distros.Distro): pkgs = [] e = os.environ.copy() - # See: http://tiny.cc/kg91fw - # Or: http://tiny.cc/mh91fw + # See: http://manpages.ubuntu.com/manpages/xenial/man7/debconf.7.html e['DEBIAN_FRONTEND'] = 'noninteractive' wcfg = self.get_option("apt_get_wrapper", APT_GET_WRAPPER) diff --git a/cloudinit/distros/parsers/hosts.py b/cloudinit/distros/parsers/hosts.py index 87f164be..64444581 100644 --- a/cloudinit/distros/parsers/hosts.py +++ b/cloudinit/distros/parsers/hosts.py @@ -10,8 +10,8 @@ from cloudinit.distros.parsers import chop_comment # See: man hosts -# or http://unixhelp.ed.ac.uk/CGI/man-cgi?hosts -# or http://tinyurl.com/6lmox3 +# or https://linux.die.net/man/5/hosts +# or https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-configfiles.html # noqa class HostsConf(object): def __init__(self, text): self._text = text 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 |