chore: remove stray UTF-8 nbsps

This commit is contained in:
Emmanuel BENOîT 2024-12-30 10:28:15 +01:00
parent be14fccba3
commit 7eef8cdfa7
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
5 changed files with 14 additions and 14 deletions

4
Vagrantfile vendored
View file

@ -9,10 +9,10 @@ def env_or_default(key, value)
end end
end end
# Read parameters from the environment. # Read parameters from the environment.
vm_cpus = env_or_default("VM_CPU", 4) vm_cpus = env_or_default("VM_CPU", 4)
vm_memory = env_or_default("VM_MEMORY", 16 * 1024) vm_memory = env_or_default("VM_MEMORY", 16 * 1024)
# More parameters from the environment. These are only used during provisioning. # More parameters from the environment. These are only used during provisioning.
apt_proxy = env_or_default("APT_PROXY", "") apt_proxy = env_or_default("APT_PROXY", "")
vm_locale = env_or_default("VM_LOCALE", "en_GB.UTF-8") vm_locale = env_or_default("VM_LOCALE", "en_GB.UTF-8")
chezmoi_source = env_or_default("CHEZMOI_SOURCE", "") chezmoi_source = env_or_default("CHEZMOI_SOURCE", "")

View file

@ -3,25 +3,25 @@ include "/etc/bind/tf-key.conf"; // Load Terraform key
// Main domain // Main domain
zone "{{ domain_name }}" in { zone "{{ domain_name }}" in {
type master; type master;
file "/var/lib/bind/db.{{ domain_name }}"; file "/var/lib/bind/db.{{ domain_name }}";
update-policy { update-policy {
grant {{ update_key }} subdomain {{ domain_name }}. A CNAME; grant {{ update_key }} subdomain {{ domain_name }}. A CNAME;
}; };
}; };
// Reverse DNS for {{ back_net }}/24 // Reverse DNS for {{ back_net }}/24
zone "{{ back_arpa }}" in { zone "{{ back_arpa }}" in {
type master; type master;
file "/var/lib/bind/db.{{ back_arpa }}"; file "/var/lib/bind/db.{{ back_arpa }}";
update-policy { update-policy {
grant {{ update_key }} subdomain {{ back_arpa }}. PTR; grant {{ update_key }} subdomain {{ back_arpa }}. PTR;
}; };
}; };
// Reverse DNS for {{ front_net }}/24 // Reverse DNS for {{ front_net }}/24
zone "{{ front_arpa }}" in { zone "{{ front_arpa }}" in {
type master; type master;
file "/var/lib/bind/db.{{ front_arpa }}"; file "/var/lib/bind/db.{{ front_arpa }}";
update-policy { update-policy {
grant {{ update_key }} subdomain {{ front_arpa }}. PTR; grant {{ update_key }} subdomain {{ front_arpa }}. PTR;
}; };

View file

@ -1,3 +1,3 @@
[Resolve] [Resolve]
Domains=~{{ domain_name }} ~{{ back_arpa }} ~{{ front_arpa }} {{ domain_name }} Domains=~{{ domain_name }} ~{{ back_arpa }} ~{{ front_arpa }} {{ domain_name }}
DNS=127.0.0.1 DNS=127.0.0.1

View file

@ -1,6 +1,6 @@
$ORIGIN . $ORIGIN .
$TTL 21600 $TTL 21600
{{ domain_name }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( {{ domain_name }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. (
1 ; serial 1 ; serial
86400 ; refresh (1 day) 86400 ; refresh (1 day)
3600 ; retry (1 hour) 3600 ; retry (1 hour)

View file

@ -1,6 +1,6 @@
$ORIGIN . $ORIGIN .
$TTL 21600 $TTL 21600
{{ item.arpa }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. ( {{ item.arpa }} IN SOA vm-host.{{ domain_name }}. lol.mail.hostmaster.ici.osef. (
1 ; serial 1 ; serial
86400 ; refresh (1 day) 86400 ; refresh (1 day)
3600 ; retry (1 hour) 3600 ; retry (1 hour)
@ -9,4 +9,4 @@ $TTL 21600
) )
IN NS vm-host.{{ domain_name }}. IN NS vm-host.{{ domain_name }}.
$ORIGIN {{ item.arpa }}. $ORIGIN {{ item.arpa }}.
1 IN PTR {{ item.host }}.{{ domain_name }}. 1 IN PTR {{ item.host }}.{{ domain_name }}.