File tree 2 files changed +5
-88
lines changed
content/docs/latest/provisioning/ignition
2 files changed +5
-88
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : Referencing dynamic data
3
3
weight : 40
4
+ aliases :
5
+ - ./metadata
6
+ - ../../ignition/metadata
4
7
---
5
8
6
9
## Overview
@@ -62,6 +65,8 @@ systemd:
62
65
[Service]
63
66
EnvironmentFile=/run/metadata/flatcar
64
67
Type=oneshot
68
+ RemainAfterExit=yes
69
+ Restart=on-failure
65
70
# Print the custom hostname variable from /run/metadata/flatcar
66
71
ExecStart=echo "${COREOS_CUSTOM_HOSTNAME}"
67
72
# Directly use /run/metadata/flatcar to print the private IP address out (with multiple patterns to work with any provider not only custom)
@@ -72,6 +77,5 @@ systemd:
72
77
73
78
You can find another example in the [VMware docs](../../installing/cloud/vmware.md).
74
79
75
- ## Behind the scenes
76
80
77
81
[afterburndocs]: https://github.com/coreos/afterburn/blob/main/docs/usage/attributes.md#metadata-attributes
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments