vexxhost-bot | b775bab | 2024-05-02 12:04:34 -0400 | [diff] [blame] | 1 | alias osc='nerdctl run --rm --network host \ |
| 2 | --volume $PWD:/opt --volume /tmp:/tmp \ |
| 3 | --volume /etc/openstack:/etc/openstack:ro \ |
Mohammed Naser | bdb2d41 | 2024-06-02 20:39:07 -0400 | [diff] [blame] | 4 | {% if cluster_issuer_type is defined and cluster_issuer_type in ('self-signed', 'ca', 'venafi') %} |
vexxhost-bot | b775bab | 2024-05-02 12:04:34 -0400 | [diff] [blame] | 5 | --volume {{ '/usr/local/share/ca-certificates/atmosphere.crt:/usr/local/share/ca-certificates/atmosphere.crt:ro' if ansible_facts['os_family'] |
vexxhost-bot | d65a291 | 2024-05-24 16:41:56 +0200 | [diff] [blame] | 6 | in ['Debian'] else '/etc/pki/ca-trust/source/anchors/atmosphere.crt:/usr/local/share/ca-certificates/atmosphere.crt:ro' }} \ |
| 7 | {% elif cluster_issuer_acme_private_ca is defined and cluster_issuer_acme_private_ca | bool %} |
| 8 | --volume {{ '/etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro' if ansible_facts['os_family'] |
| 9 | in ['Debian'] else '/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt:/etc/ssl/certs/ca-certificates.crt:ro' }} \ |
vexxhost-bot | b775bab | 2024-05-02 12:04:34 -0400 | [diff] [blame] | 10 | {% endif %} |
Mohammed Naser | 1373806 | 2024-06-25 16:26:32 -0400 | [diff] [blame] | 11 | {% if ansible_facts['distribution_version'] is ansible.builtin.version('20.04', '<=') %} |
Mohammed Naser | 08a3bee | 2024-06-25 16:15:16 -0400 | [diff] [blame] | 12 | --env OS_CLOUD=atmosphere \ |
| 13 | {% else %} |
vexxhost-bot | b775bab | 2024-05-02 12:04:34 -0400 | [diff] [blame] | 14 | --env-file <(env | grep OS_) \ |
Mohammed Naser | 08a3bee | 2024-06-25 16:15:16 -0400 | [diff] [blame] | 15 | {% endif %} |
vexxhost-bot | b775bab | 2024-05-02 12:04:34 -0400 | [diff] [blame] | 16 | {{ atmosphere_images['openstack_cli'] }}' |
| 17 | alias openstack='osc openstack' |
| 18 | alias nova='osc nova' |
| 19 | alias neutron='osc neutron' |
| 20 | alias cinder='osc cinder' |
| 21 | alias glance='osc glance' |