Skip to content

Commit 49ef76f

Browse files
committed
Add Aetos container image
1 parent 42523b2 commit 49ef76f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

container-images/kolla/base/uid_gid_manage.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ declare -A _SUPPORTED_USERS
3333
# This comes from kolla/common/config.py.
3434
# Format: <username> <uid> <gid> <optional homedir> <optional comma-separated list of extra groups>
3535
# Note: if homedir isn't specified, extra groups aren't supported
36+
_SUPPORTED_USERS['aetos']='aetos 42462 42462 /var/lib/aetos kolla'
3637
_SUPPORTED_USERS['aodh']='aodh 42402 42402 /var/lib/aodh kolla'
3738
_SUPPORTED_USERS['barbican']='barbican 42403 42403 /var/lib/barbican kolla,nfast'
3839
_SUPPORTED_USERS['ceilometer']='ceilometer 42405 42405 /var/lib/ceilometer kolla'
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
tcib_actions:
2+
- run: bash /usr/local/bin/uid_gid_manage aetos
3+
- run: dnf -y install {{ tcib_packages.common | join(' ') }} && dnf clean all && rm -rf /var/cache/dnf
4+
- run: mkdir -p /var/www/cgi-bin/aetos && chmod 755 /var/www/cgi-bin/aetos && cp -a /usr/bin/aetos-api /var/www/cgi-bin/aetos/ && sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf && sed -i -r 's,^(Listen 443),#\1,' /etc/httpd/conf.d/ssl.conf
5+
tcib_packages:
6+
common:
7+
- openstack-aetos-common
8+
- openstack-aetos-api
9+
- httpd
10+
- mod_ssl
11+
- python3-mod_wsgi

0 commit comments

Comments
 (0)