From 51f642bea08124d71386e1e2ec1d16f6139ad47f Mon Sep 17 00:00:00 2001 From: gryf Date: Sun, 23 Jul 2023 12:39:18 +0200 Subject: [PATCH] Updated ubuntu devstack example --- ...ntu-20.04.yaml => devstack-ubuntu-22.04.yaml} | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) rename examples/{devstack-ubuntu-20.04.yaml => devstack-ubuntu-22.04.yaml} (56%) diff --git a/examples/devstack-ubuntu-20.04.yaml b/examples/devstack-ubuntu-22.04.yaml similarity index 56% rename from examples/devstack-ubuntu-20.04.yaml rename to examples/devstack-ubuntu-22.04.yaml index f8be538..87de780 100644 --- a/examples/devstack-ubuntu-20.04.yaml +++ b/examples/devstack-ubuntu-22.04.yaml @@ -7,7 +7,7 @@ packages: - ipython3 - jq - mc - - python-apsw + - python3-apsw - python3-flake8 - python3-jedi - python3-pip @@ -26,17 +26,15 @@ write_files: RABBIT_PASSWORD=$$ADMIN_PASSWORD SERVICE_PASSWORD=$$ADMIN_PASSWORD runcmd: - - [apt, purge, '-y', python3-pyasn1-modules] - - [apt, purge, '-y', python3-simplejson] - - [su, -, ubuntu, -c, "git clone https://github.com/gryf/vmstrap"] - - [su, -, ubuntu, -c, "vmstrap/bootstrap.sh -c"] - - [rm, -fr, /home/ubuntu/vmstrap] - - [su, -, ubuntu, -c, "cp /tmp/local.conf /home/ubuntu/devstack/"] - - [su, -, ubuntu, -c, "echo 'export HOST_IP=10.0.2.15' >> .bashrc"] + - apt purge -y python3-pyasn1-modules + - apt purge -y python3-simplejson + - su - ubuntu -c "git clone https://opendev.org/openstack/devstack ~/devstack" + - su - ubuntu -c "cp /tmp/local.conf /home/ubuntu/devstack/" + - su - ubuntu -c "echo 'export HOST_IP=10.0.2.15' >> .bashrc" boxpy_data: key: vm cpus: 2 memory: 6GB disk_size: 10GB distro: ubuntu - version: 20.04 + version: 22.04