Skip to content
Snippets Groups Projects
  • Kenichi Omichi's avatar
    56f389a9
    Add USE_REAL_HOSTNAME to inventory.py (#6293) · 56f389a9
    Kenichi Omichi authored
    inventory_builder creates hosts.yaml file with hostnames like "node1",
    "node2", etc. Even if specifying override_system_hostname=false, the
    output of "kubectl get nodes" shows those hostnames ("node1", etc.)
    without using actual hostnames.
    To solve this issue, this adds an option USE_REAL_HOSTNAME to get
    actual hostnames when creating hosts.yaml file instead of "node1", etc.
    56f389a9
    History
    Add USE_REAL_HOSTNAME to inventory.py (#6293)
    Kenichi Omichi authored
    inventory_builder creates hosts.yaml file with hostnames like "node1",
    "node2", etc. Even if specifying override_system_hostname=false, the
    output of "kubectl get nodes" shows those hostnames ("node1", etc.)
    without using actual hostnames.
    To solve this issue, this adds an option USE_REAL_HOSTNAME to get
    actual hostnames when creating hosts.yaml file instead of "node1", etc.