Page MenuHomeDevCentral

D3943.id10419.diff
No OneTemporary

D3943.id10419.diff

diff --git a/roles/core/motd/files/router-002 b/roles/core/motd/files/router-002
--- a/roles/core/motd/files/router-002
+++ b/roles/core/motd/files/router-002
@@ -1,8 +1,8 @@
router-002 ______
\ \ PubIP: {{ ipv4_address }}
- A Nasqueron infra- \ \ IP: {{ private_ipv4_interface }}
- structure server. \ \_ GW: {{ ipv4_gateway }}
+ A Nasqueron infra- \ \ IP: {{ private_ipv4_address }}
+ structure server. \ \_ GW: {{ ipv4_gateway }}
_\ \
Drake network router \ \
\ \
diff --git a/roles/core/motd/files/router-003 b/roles/core/motd/files/router-003
--- a/roles/core/motd/files/router-003
+++ b/roles/core/motd/files/router-003
@@ -1,8 +1,8 @@
router-003 ______
\ \ PubIP: {{ ipv4_address }}
- A Nasqueron infra- \ \ IP: {{ private_ipv4_interface }}
- structure server. \ \_ GW: {{ ipv4_gateway }}
+ A Nasqueron infra- \ \ IP: {{ private_ipv4_address }}
+ structure server. \ \_ GW: {{ ipv4_gateway }}
_\ \
Drake network router \ \
\ \
diff --git a/roles/core/motd/init.sls b/roles/core/motd/init.sls
--- a/roles/core/motd/init.sls
+++ b/roles/core/motd/init.sls
@@ -15,8 +15,9 @@
- source: salt://roles/core/motd/files/{{ grains['id'] }}
- template: jinja
- context:
- ipv4_address: {{ network['ipv4_address'] }}
+ ipv4_address: {{ network['public_ipv4_address'] }}
ipv4_gateway: {{ network['ipv4_gateway'] }}
+ private_ipv4_address: {{ network['private_ipv4_address'] }}
os_info: {{ grains["osfinger"].replace("-", " ") }}
# -------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 26, 02:52 (18 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3563167
Default Alt Text
D3943.id10419.diff (2 KB)

Event Timeline