-
Notifications
You must be signed in to change notification settings - Fork 341
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'drybjed-bookworm-support'
- Loading branch information
Showing
9 changed files
with
132 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (C) 2023 Maciej Delmanowski <drybjed@gmail.com> | ||
# Copyright (C) 2023 DebOps <https://debops.org/> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
# Role: ipxe | ||
# Package: firmware-bookworm | ||
# Version: 20230612 | ||
|
||
version=4 | ||
https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bookworm (20.+)/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (C) 2023 Maciej Delmanowski <drybjed@gmail.com> | ||
# Copyright (C) 2023 DebOps <https://debops.org/> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
|
||
# Role: ipxe | ||
# Package: netboot-bookworm | ||
# Version: 20230607 | ||
|
||
version=4 | ||
https://deb.debian.org/debian/dists/bookworm/main/installer-amd64 (20.+)/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ansible/roles/resolved/templates/etc/systemd/resolved.conf.d/fallback-dns.conf.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{# Copyright (C) 2023 Maciej Delmanowski <drybjed@gmail.com> | ||
# Copyright (C) 2023 DebOps <https://debops.org/> | ||
# SPDX-License-Identifier: GPL-3.0-only | ||
#} | ||
# {{ ansible_managed }} | ||
|
||
# See resolved.conf(5) for details. | ||
|
||
# This file can be safely removed once nameserver configuration is defined in | ||
# systemd-resolved options. | ||
|
||
{% set fallback_dns = [] %} | ||
{% for element in ansible_facts['dns']['nameservers'] | d([]) %} | ||
{% if element != '127.0.0.53' %} | ||
{% set _ = fallback_dns.append(element) %} | ||
{% endif %} | ||
{% endfor %} | ||
{% set domains = [] %} | ||
{% if ansible_facts['dns']['domain'] | d([]) %} | ||
{% set _ = domains.append(ansible_facts['dns']['domain']) %} | ||
{% endif %} | ||
{% for element in ansible_facts['dns']['search'] | d([]) %} | ||
{% set _ = domains.append(element) %} | ||
{% endfor %} | ||
[Resolve] | ||
{{ 'FallbackDNS={}'.format(fallback_dns | join(' ')) }} | ||
{{ 'Domains={}'.format(domains | join(' ')) }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters