Skip to content

Commit 102de0a

Browse files
authored
Merge pull request flatcar#288 from flatcar/kai/dynamic-data
Remove duplicated content about coreos-metadata
2 parents 50422e1 + e5d5564 commit 102de0a

File tree

2 files changed

+5
-88
lines changed

2 files changed

+5
-88
lines changed

content/docs/latest/provisioning/ignition/dynamic-data.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Referencing dynamic data
33
weight: 40
4+
aliases:
5+
- ./metadata
6+
- ../../ignition/metadata
47
---
58

69
## Overview
@@ -62,6 +65,8 @@ systemd:
6265
[Service]
6366
EnvironmentFile=/run/metadata/flatcar
6467
Type=oneshot
68+
RemainAfterExit=yes
69+
Restart=on-failure
6570
# Print the custom hostname variable from /run/metadata/flatcar
6671
ExecStart=echo "${COREOS_CUSTOM_HOSTNAME}"
6772
# 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:
7277
7378
You can find another example in the [VMware docs](../../installing/cloud/vmware.md).
7479
75-
## Behind the scenes
7680
7781
[afterburndocs]: https://github.com/coreos/afterburn/blob/main/docs/usage/attributes.md#metadata-attributes

content/docs/latest/provisioning/ignition/metadata.md

-87
This file was deleted.

0 commit comments

Comments
 (0)