add option to overwrite systemd-resolved
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3af6d55088
commit
0e46a396ed
@ -50,6 +50,7 @@ droneci_autoscaler_agent_architecture: amd64
|
||||
droneci_autoscaler_agent_distro: ubuntu
|
||||
droneci_autoscaler_agent_volumes: []
|
||||
droneci_autoscaler_agent_package_upgrade: False
|
||||
droneci_autoscaler_agent_resolved_dns: []
|
||||
|
||||
# @var droneci_autoscaler_agent_packages:description: >
|
||||
# Install extra required packages during agents bootstrapping.
|
||||
|
@ -74,3 +74,10 @@ write_files:
|
||||
- path: /etc/docker/server-key.pem
|
||||
encoding: b64
|
||||
content: {% raw %}{{ .TLSKey | base64 }}{% endraw %}
|
||||
{% if droneci_autoscaler_agent_resolved_dns | length > 0 %}
|
||||
|
||||
- path: /etc/systemd/resolved.conf
|
||||
content: |
|
||||
[Resolve]
|
||||
DNS={{ droneci_autoscaler_resolved_dns | join(" ") }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user