IBM / Ansible-OpenShift-Provisioning

Automate the deployment of Red Hat OpenShift Container Platform on IBM zSystems (s390x). Automated User-Provisoned Infrastructure (UPI) setup using Kernel-based Virtual Machine (KVM).

Home Page:https://ibm.github.io/Ansible-OpenShift-Provisioning/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generated full bastion hostname is incorrect

ryoung1us opened this issue · comments

Actual hostname produced is bastion.ibm.com However the bastion base domain name supplied is ocp1.ibm.com so the full hostname should be bastion.ocp1.ibm.com !

All.yaml section 5

Section 5 - Bastion

bastion:
create: True
vm_name: bastion
resources:
disk_size: 30
ram: 8192
swap: 4096
vcpu: 4
networking:
ip: 9.76.61.82
hostname: bastion
base_domain: ocp1.ibm.com
subnetmask: 255.255.255.0
gateway: 9.76.61.1
nameserver1: 9.76.61.94

nameserver2:

  forwarder: 9.0.0.2
  interface: enc1
access:
  user: admin1
  pass: its0
  root_pass: its0
options:
  dns: False
  loadbalancer:
    on_bastion: True
    public_ip: 9.76.61.80
    private_ip: 9.76.71.80

nameserver 9.0.0.2[root@bastion sysconfig]# hostnamectl
Static hostname: bastion.ibm.com
Icon name: computer-vm
Chassis: vm
Machine ID: bdd68adf28e04524ac75cfe120989c78
Boot ID: fb83c2f13ee848cfbad27a5643fb8de6
Virtualization: kvm
Operating System: Red Hat Enterprise Linux 8.7 (Ootpa)
CPE OS Name: cpe:/o:redhat:enterprise_linux:8::baseos
Kernel: Linux 4.18.0-425.3.1.el8.s390x
Architecture: s390x
[root@bastion sysconfig]#