Misc changes to image-sync
Sync noble images by default now 24.04 LTS is releases. Name the cloud 'microstack' rather than the older name used in Charmed OpenStack. Change-Id: Ie9fd3b3ade7c8b32613fbf3e14a74409f192ca71
This commit is contained in:
parent
8af11be111
commit
8de9cf38b9
@ -34,12 +34,12 @@ config:
|
||||
The architectures to sync images for. Space delimited list of architectures.
|
||||
type: string
|
||||
release:
|
||||
default: focal jammy
|
||||
default: focal jammy noble
|
||||
description: |
|
||||
The releases to sync images for. Space delimited list of releases.
|
||||
type: string
|
||||
cloud-name:
|
||||
default: simplestreams-glance-sync
|
||||
default: microstack
|
||||
description: |
|
||||
The name of the cloud to sync images for.
|
||||
type: string
|
||||
|
@ -98,7 +98,7 @@ class TestOISOperatorCharm(test_utils.CharmTestCase):
|
||||
self.harness.charm.service_name,
|
||||
"/etc/apache2/sites-enabled/http-sync.conf",
|
||||
)
|
||||
expect_entries = """cloud_name: simplestreams-glance-sync
|
||||
expect_entries = """cloud_name: microstack
|
||||
frequency: 3600
|
||||
mirrors:
|
||||
- content_id: '%(region)s' # Content ID choice
|
||||
@ -106,7 +106,7 @@ mirrors:
|
||||
hypervisor_mapping: false
|
||||
image_conversion: false
|
||||
item_filters:
|
||||
- release~(focal|jammy)
|
||||
- release~(focal|jammy|noble)
|
||||
- arch~(amd64)
|
||||
- ftype~(disk1.img|disk.img)
|
||||
keep_items: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user