/
etc
/
cloud
/
templates
/
/etc/cloud/templates
mkdir
upload
Name
Size
Mode
Actions
chef_client.rb.tmpl
1667
0644
edit
dl
rm
chrony.conf.alpine.tmpl
1113
0644
edit
dl
rm
chrony.conf.centos.tmpl
1181
0644
edit
dl
rm
chrony.conf.cos.tmpl
775
0644
edit
dl
rm
chrony.conf.debian.tmpl
1111
0644
edit
dl
rm
chrony.conf.fedora.tmpl
1269
0644
edit
dl
rm
chrony.conf.freebsd.tmpl
14216
0644
edit
dl
rm
chrony.conf.opensuse-leap.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse-microos.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse-tumbleweed.tmpl
991
0644
edit
dl
rm
chrony.conf.opensuse.tmpl
991
0644
edit
dl
rm
chrony.conf.photon.tmpl
1269
0644
edit
dl
rm
chrony.conf.rhel.tmpl
1181
0644
edit
dl
rm
chrony.conf.sle-micro.tmpl
991
0644
edit
dl
rm
chrony.conf.sles.tmpl
991
0644
edit
dl
rm
chrony.conf.sle_hpc.tmpl
991
0644
edit
dl
rm
chrony.conf.ubuntu.tmpl
1280
0644
edit
dl
rm
host.mariner.tmpl
898
0644
edit
dl
rm
hosts.alpine.tmpl
919
0644
edit
dl
rm
hosts.arch.tmpl
841
0644
edit
dl
rm
hosts.debian.tmpl
845
0644
edit
dl
rm
hosts.freebsd.tmpl
911
0644
edit
dl
rm
hosts.gentoo.tmpl
910
0644
edit
dl
rm
hosts.photon.tmpl
874
0644
edit
dl
rm
hosts.redhat.tmpl
912
0644
edit
dl
rm
hosts.suse.tmpl
1067
0644
edit
dl
rm
ntp.conf.alpine.tmpl
203
0644
edit
dl
rm
ntp.conf.debian.tmpl
2150
0644
edit
dl
rm
ntp.conf.fedora.tmpl
2074
0644
edit
dl
rm
ntp.conf.freebsd.tmpl
4159
0644
edit
dl
rm
ntp.conf.opensuse.tmpl
2755
0644
edit
dl
rm
ntp.conf.photon.tmpl
1850
0644
edit
dl
rm
ntp.conf.rhel.tmpl
1852
0644
edit
dl
rm
ntp.conf.sles.tmpl
2755
0644
edit
dl
rm
ntp.conf.ubuntu.tmpl
2509
0644
edit
dl
rm
ntpd.conf.openbsd.tmpl
491
0644
edit
dl
rm
resolv.conf.tmpl
921
0644
edit
dl
rm
sources.list.debian.tmpl
1439
0644
edit
dl
rm
sources.list.ubuntu.tmpl
2858
0644
edit
dl
rm
systemd.resolved.conf.tmpl
504
0644
edit
dl
rm
timesyncd.conf.tmpl
203
0644
edit
dl
rm
Edit:
/etc/cloud/templates/hosts.debian.tmpl
(845B)
## template:jinja {# This file (/etc/cloud/templates/hosts.debian.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.debian.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # {# The value '{{hostname}}' will be replaced with the local-hostname -#} 127.0.1.1 {{fqdn}} {{hostname}} 127.0.0.1 localhost # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
Save
cmd:
run