1
0
mirror of https://github.com/gryf/boxpy.git synced 2025-12-28 12:52:26 +01:00

Update devstack deployment examples.

This commit is contained in:
2021-08-20 08:24:50 +02:00
parent d7544f52f6
commit c19f4f1a61
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
# Note, that cloud init will fail, due to old cloudinit package, which module
# cc_keys_to_console doesn't recognize skipping option. Just ignore this error.
package_update: true package_update: true
packages: packages:
- bash-completion - bash-completion
@@ -12,7 +14,6 @@ packages:
write_files: write_files:
- path: /tmp/local.conf - path: /tmp/local.conf
permissions: '0644' permissions: '0644'
owner: fedora:fedora
content: | content: |
[[local|localrc]] [[local|localrc]]
ADMIN_PASSWORD=pass ADMIN_PASSWORD=pass
@@ -33,4 +34,4 @@ boxpy_data:
memory: 4GB memory: 4GB
disk_size: 10GB disk_size: 10GB
distro: fedora distro: fedora
version: 32 version: 34

View File

@@ -19,7 +19,6 @@ packages:
write_files: write_files:
- path: /tmp/local.conf - path: /tmp/local.conf
permissions: '0644' permissions: '0644'
owner: ubuntu:ubuntu
content: | content: |
[[local|localrc]] [[local|localrc]]
ADMIN_PASSWORD=pass ADMIN_PASSWORD=pass
@@ -27,6 +26,8 @@ write_files:
RABBIT_PASSWORD=$$ADMIN_PASSWORD RABBIT_PASSWORD=$$ADMIN_PASSWORD
SERVICE_PASSWORD=$$ADMIN_PASSWORD SERVICE_PASSWORD=$$ADMIN_PASSWORD
runcmd: 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, "git clone https://github.com/gryf/vmstrap"]
- [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"] - [su, -, ubuntu, -c, "vmstrap/bootstrap.sh"]
- [rm, -fr, /home/ubuntu/vmstrap] - [rm, -fr, /home/ubuntu/vmstrap]