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

Malformed syntax & outdated/invalid jq argument in kubeadm image README #740

@EmeraldShift

Description

@EmeraldShift

images/kubeadm/README.md fetches the IP address of the master-0 VM with the following line:

export MASTER_IP=$($ignite inspect vm master-0 | jq -r ".status.ipAddresses[0]")

This seems to be problematic, since there's an extra $ before ignite, which (unless set) evaluates to an empty string, causing the shell to run inspect ..., to no avail.

Additionally, the JSON path .status.ipAddresses[0] seems either invalid or outdated, as the correct path appears to be .status.network.ipAddresses[0] as of the time of writing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions