[skip ci] add runcmd option
This commit is contained in:
parent
dd0d55ac75
commit
d6a9c65500
@ -51,6 +51,7 @@ droneci_autoscaler_agent_distro: ubuntu
|
|||||||
droneci_autoscaler_agent_volumes: []
|
droneci_autoscaler_agent_volumes: []
|
||||||
droneci_autoscaler_agent_package_upgrade: False
|
droneci_autoscaler_agent_package_upgrade: False
|
||||||
droneci_autoscaler_agent_resolved_dns: []
|
droneci_autoscaler_agent_resolved_dns: []
|
||||||
|
droneci_autoscaler_agent_runcmd: []
|
||||||
|
|
||||||
# @var droneci_autoscaler_agent_packages:description: >
|
# @var droneci_autoscaler_agent_packages:description: >
|
||||||
# Install extra required packages during agents bootstrapping.
|
# Install extra required packages during agents bootstrapping.
|
||||||
|
@ -81,3 +81,10 @@ write_files:
|
|||||||
[Resolve]
|
[Resolve]
|
||||||
DNS={{ droneci_autoscaler_agent_resolved_dns | join(" ") }}
|
DNS={{ droneci_autoscaler_agent_resolved_dns | join(" ") }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if droneci_autoscaler_agent_runcmd | lenght > 0 %}
|
||||||
|
|
||||||
|
runcmd:
|
||||||
|
{% for cmd in droneci_autoscaler_agent_runcmd %}
|
||||||
|
- {{ item }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user