Skip to content
This repository was archived by the owner on Dec 31, 2021. It is now read-only.

Drop elasticsearch #51

Merged
merged 2 commits into from
Jun 16, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
workflow-helper: fetch the tinkerbell URL from the tinkerbell arg
grahamc committed Jun 16, 2020
commit 98315f5199f130aa5b84e4740fef241f009204f6
2 changes: 1 addition & 1 deletion installer/workflow-helper.sh
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ packet_base_url=$(sed -nr 's|.*\bpacket_base_url=(\S+).*|\1|p' /proc/cmdline)
registry_username=$(sed -nr 's|.*\bregistry_username=(\S+).*|\1|p' /proc/cmdline)
registry_password=$(sed -nr 's|.*\bregistry_password=(\S+).*|\1|p' /proc/cmdline)
elastic_search_url=$(sed -nr 's|.*\belastic_search_url=(\S+).*|\1|p' /proc/cmdline)
tinkerbell=$(sed -nr 's|.*\belastic_search_url=(\S+).*|\1|p' /proc/cmdline)
tinkerbell=$(sed -nr 's|.*\btinkerbell=(\S+).*|\1|p' /proc/cmdline)
worker_id=$(sed -nr 's|.*\bworker_id=(\S+).*|\1|p' /proc/cmdline)
id=$(curl --connect-timeout 60 "$tinkerbell:50061/metadata" | jq -r .id)