Ubuntu: simplify OS distro selection
Adds a new 'os_distribution' variable which can be used to select the OS distribution, with sensible defaults for other variables. The default value is 'centos'. This patch changes the default value for the '*_bootstrap_user' variables from using the $USER environment variable to using fixed defaults equal to the os_distribution variable. This aligns with the standard user configured in most cloud images, and images created via DIB. Note that we are continuing to use a CentOS based IPA image, since we have been unable to get IPA to build for Ubuntu. Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/788234 Change-Id: I9e10239f58fe209867116fa2e10f1ce74220b966 Story: 2004960 Task: 42323
Showing
- ansible/group_vars/all/bifrost 10 additions, 7 deletionsansible/group_vars/all/bifrost
- ansible/group_vars/all/compute 2 additions, 2 deletionsansible/group_vars/all/compute
- ansible/group_vars/all/controllers 2 additions, 2 deletionsansible/group_vars/all/controllers
- ansible/group_vars/all/globals 7 additions, 0 deletionsansible/group_vars/all/globals
- ansible/group_vars/all/kolla 3 additions, 2 deletionsansible/group_vars/all/kolla
- ansible/group_vars/all/seed 2 additions, 2 deletionsansible/group_vars/all/seed
- ansible/group_vars/all/seed-hypervisor 2 additions, 2 deletionsansible/group_vars/all/seed-hypervisor
- ansible/group_vars/all/seed-vm 11 additions, 2 deletionsansible/group_vars/all/seed-vm
- ansible/group_vars/all/storage 2 additions, 2 deletionsansible/group_vars/all/storage
- etc/kayobe/bifrost.yml 5 additions, 3 deletionsetc/kayobe/bifrost.yml
- etc/kayobe/compute.yml 1 addition, 1 deletionetc/kayobe/compute.yml
- etc/kayobe/controllers.yml 1 addition, 1 deletionetc/kayobe/controllers.yml
- etc/kayobe/globals.yml 7 additions, 0 deletionsetc/kayobe/globals.yml
- etc/kayobe/kolla.yml 2 additions, 1 deletionetc/kayobe/kolla.yml
- etc/kayobe/seed-hypervisor.yml 1 addition, 1 deletionetc/kayobe/seed-hypervisor.yml
- etc/kayobe/seed-vm.yml 3 additions, 0 deletionsetc/kayobe/seed-vm.yml
- etc/kayobe/seed.yml 1 addition, 1 deletionetc/kayobe/seed.yml
- etc/kayobe/storage.yml 1 addition, 1 deletionetc/kayobe/storage.yml
- releasenotes/notes/os-distribution-69445eb19a611d43.yaml 14 additions, 0 deletionsreleasenotes/notes/os-distribution-69445eb19a611d43.yaml
Please register or sign in to comment