Current Dir: /snap/core22/2955/etc/cloud/templates/

[FILE] chef_client.rb.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.almalinux.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.alpine.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.centos.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.cloudlinux.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.cos.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.debian.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.fedora.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.freebsd.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.opensuse-leap.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.opensuse-microos.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.opensuse-tumbleweed.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.opensuse.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.photon.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.rhel.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.rocky.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.sle-micro.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.sles.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.sle_hpc.tmpl [ edit | delete | rename ]
[FILE] chrony.conf.ubuntu.tmpl [ edit | delete | rename ]
[FILE] hosts.alpine.tmpl [ edit | delete | rename ]
[FILE] hosts.aosc.tmpl [ edit | delete | rename ]
[FILE] hosts.arch.tmpl [ edit | delete | rename ]
[FILE] hosts.azurelinux.tmpl [ edit | delete | rename ]
[FILE] hosts.debian.tmpl [ edit | delete | rename ]
[FILE] hosts.freebsd.tmpl [ edit | delete | rename ]
[FILE] hosts.gentoo.tmpl [ edit | delete | rename ]
[FILE] hosts.mariner.tmpl [ edit | delete | rename ]
[FILE] hosts.openeuler.tmpl [ edit | delete | rename ]
[FILE] hosts.photon.tmpl [ edit | delete | rename ]
[FILE] hosts.redhat.tmpl [ edit | delete | rename ]
[FILE] hosts.suse.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.almalinux.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.alpine.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.cloudlinux.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.debian.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.fedora.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.freebsd.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.opensuse.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.photon.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.rhel.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.rocky.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.sles.tmpl [ edit | delete | rename ]
[FILE] ntp.conf.ubuntu.tmpl [ edit | delete | rename ]
[FILE] ntpd.conf.openbsd.tmpl [ edit | delete | rename ]
[FILE] resolv.conf.tmpl [ edit | delete | rename ]
[FILE] sources.list.debian.deb822.tmpl [ edit | delete | rename ]
[FILE] sources.list.debian.tmpl [ edit | delete | rename ]
[FILE] sources.list.ubuntu.deb822.tmpl [ edit | delete | rename ]
[FILE] sources.list.ubuntu.tmpl [ edit | delete | rename ]
[FILE] systemd.resolved.conf.tmpl [ edit | delete | rename ]
[FILE] timesyncd.conf.tmpl [ edit | delete | rename ]

Viewing: /snap/core22/2955/etc/cloud/templates/hosts.gentoo.tmpl

## template:jinja
{#
This file /etc/cloud/templates/hosts.gentoo.tmpl is only utilized
if enabled in cloud-config.  Specifically, in order to enable it
you need to add the following to config:
  manage_etc_hosts: True
-#}
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.gentoo.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
#     /etc/cloud/cloud.cfg or cloud-config from user-data
#
# The following lines are desirable for IPv4 capable hosts
127.0.0.1 {{fqdn}} {{hostname}}
127.0.0.1 localhost.localdomain localhost
127.0.0.1 localhost4.localdomain4 localhost4

# The following lines are desirable for IPv6 capable hosts
::1 {{fqdn}} {{hostname}}
::1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

Upload File: