Add Ubuntu ppc64le support
This commit adds support for container creation on Ubuntu ppc64le. It maps the ansible architecture to the correct lxc architecture and sets the container arch accordingly. Change-Id: I1f142686d7190e5bfe7147366d406381b5011725
This commit is contained in:
parent
5b4cd3d6f4
commit
41800e3eae
@ -15,6 +15,11 @@
|
||||
|
||||
lxc_container_config: /etc/lxc/lxc-openstack.conf
|
||||
|
||||
# Mappings from Ansible reported architecture to distro release architecture
|
||||
lxc_architecture_mapping:
|
||||
x86_64: amd64
|
||||
ppc64le: ppc64el
|
||||
|
||||
# lxc container rootfs directory and cache path
|
||||
lxc_container_directory: "/var/lib/lxc"
|
||||
lxc_container_cache_path: "/var/cache/lxc"
|
||||
|
4
releasenotes/notes/ubuntu-ppc64le-cab45e63dca77017.yaml
Normal file
4
releasenotes/notes/ubuntu-ppc64le-cab45e63dca77017.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Support added to allow deploying on ppc64le architecture
|
||||
using the Ubuntu distributions.
|
@ -49,7 +49,7 @@ lxc_container_interface_target: "/etc/network/interfaces.d/{{ item.value.interfa
|
||||
|
||||
lxc_container_map:
|
||||
distro: ubuntu
|
||||
arch: amd64
|
||||
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_architecture'] | lower ) }}"
|
||||
release: trusty
|
||||
prep_commands: |
|
||||
mkdir -p /var/backup
|
||||
|
@ -49,7 +49,7 @@ lxc_container_interface_target: "/etc/network/interfaces.d/{{ item.value.interfa
|
||||
|
||||
lxc_container_map:
|
||||
distro: ubuntu
|
||||
arch: amd64
|
||||
arch: "{{ lxc_architecture_mapping.get( hostvars[physical_host]['ansible_architecture'] | lower ) }}"
|
||||
release: xenial
|
||||
prep_commands: |
|
||||
mkdir -p /var/backup
|
||||
|
Loading…
Reference in New Issue
Block a user