Code Review
/
kuberef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Add support for deploying to Equinix Metal bare-metal servers
[kuberef.git]
/
playbooks
/
roles
/
jump-vm
/
templates
/
network-config.j2
diff --git
a/playbooks/roles/jump-vm/templates/network-config.j2
b/playbooks/roles/jump-vm/templates/network-config.j2
index
ceded54
..
8587a10
100644
(file)
--- a/
playbooks/roles/jump-vm/templates/network-config.j2
+++ b/
playbooks/roles/jump-vm/templates/network-config.j2
@@
-1,3
+1,4
@@
+{% if deployment_type == 'full' %}
version: 1
config:
- type: physical
@@
-12,3
+13,4
@@
config:
- type: static
address: "{{ jumphost.interfaces[idf.net_config[engine.pxe_network].interface].address }}"
netmask: "{{ idf.net_config[engine.pxe_network].mask }}"
+{% endif %}