-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare manage of clusterapi & octavia images (#811)
Signed-off-by: Christian Berendt <berendt@osism.tech>
- Loading branch information
Showing
3 changed files
with
185 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
TEMPLATE_IMAGE_OCTAVIA = """--- | ||
images: | ||
- name: OpenStack Octavia Amphora | ||
enable: true | ||
shortname: amphora | ||
format: qcow2 | ||
login: ubuntu | ||
min_disk: 2 | ||
min_ram: 512 | ||
status: active | ||
visibility: private | ||
multi: false | ||
meta: | ||
architecture: x86_64 | ||
hw_disk_bus: scsi | ||
hw_rng_model: virtio | ||
hw_scsi_model: virtio-scsi | ||
hw_watchdog_action: reset | ||
os_distro: ubuntu | ||
replace_frequency: quarterly | ||
uuid_validity: last-1 | ||
provided_until: none | ||
tags: | ||
- amphora | ||
versions: | ||
- version: "{{ image_version }}" | ||
url: "{{ image_url }}" | ||
checksum: "{{ image_checksum }}" | ||
build_date: {{ image_builddate }} | ||
""" | ||
|
||
TEMPLATE_IMAGE_CLUSTERAPI = """--- | ||
images: | ||
- name: Kubernetes CAPI | ||
enable: true | ||
keep: true | ||
format: qcow2 | ||
login: ubuntu | ||
min_disk: 20 | ||
min_ram: 512 | ||
status: active | ||
visibility: public | ||
multi: false | ||
meta: | ||
architecture: x86_64 | ||
hw_disk_bus: virtio | ||
hw_rng_model: virtio | ||
hw_scsi_model: virtio-scsi | ||
hw_watchdog_action: reset | ||
os_distro: ubuntu | ||
replace_frequency: never | ||
uuid_validity: none | ||
provided_until: none | ||
tags: [] | ||
versions: | ||
- version: "{{ image_version }}" | ||
url: "{{ image_url }}" | ||
checksum: "{{ image_checksum }}" | ||
build_date: {{ image_builddate }} | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters