Skip to content

Commit a2cf91a

Browse files
aptalcathelamer
authored andcommitted
Add hostname description
1 parent 76a39e6 commit a2cf91a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

roles/generate-jenkins/templates/README.j2

+3
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ Container images are configured using parameters passed at runtime (such as thos
274274

275275
| Parameter | Function |
276276
| :----: | --- |
277+
{% if param_usage_include_hostname %}
278+
| `--hostname={{ param_hostname }}` | {{ param_hostname_desc }} |
279+
{% endif %}
277280
{% if param_usage_include_net %}
278281
| `--net={{ param_net }}` | {{ param_net_desc }} |
279282
{% endif %}

vars/_container-vars-blank

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ common_param_env_vars_enabled: true #PGID, PUID, etc, you can set it to 'optiona
2929
param_container_name: "{{ project_name }}"
3030
param_usage_include_hostname: false #you can set it to 'optional'
3131
param_hostname: "hostname"
32+
param_hostname_desc: "Set hostname for the container."
3233
param_usage_include_net: false #you can set it to 'optional'
3334
param_net: "host"
3435
param_net_desc: "Shares host networking with container."

0 commit comments

Comments
 (0)