summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-12-09 14:09:26 +0100
committerChristian Pointner <equinox@spreadspace.org>2022-12-09 14:09:26 +0100
commit17187dd7259d12c1daa9fbc3f340ca6034daa037 (patch)
treed819fb58f5146ee8e9c750357e6d5ec0d368d645
parentopensuse kubic-project has been wound down - stop using packages from there (diff)
edis-kvm/try suggested fixes from edis support:
- reduce generated VNC password length to 8 (setting password via API still does not work) - add Header "Cache-Control: no-cache" to download_iso API Call -> no change in behaviour
-rw-r--r--roles/cloud/install/tasks/edis-kvm.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/roles/cloud/install/tasks/edis-kvm.yml b/roles/cloud/install/tasks/edis-kvm.yml
index 60838b1f..43bb6d52 100644
--- a/roles/cloud/install/tasks/edis-kvm.yml
+++ b/roles/cloud/install/tasks/edis-kvm.yml
@@ -60,6 +60,8 @@
signature: "{{ edis_kvm_auth_session.signature }}"
valid_until: "{{ edis_kvm_auth_session.valid_until }}"
url: "{{ install.cloud.image_publish.base_url }}/{{ install_hostname }}.iso"
+ headers:
+ Cache-Control: "no-cache"
status_code: 500 ## TODO: create ticket @ edis support ....
- name: fetch list of isos
@@ -110,7 +112,7 @@
- name: generate random password for VNC access
set_fact:
- edis_kvm_vnc_password: "{{ lookup('password', '/dev/null chars=ascii_lowercase,ascii_uppercase,digits length=16') }}"
+ edis_kvm_vnc_password: "{{ lookup('password', '/dev/null chars=ascii_lowercase,ascii_uppercase,digits length=8') }}"
## TODO: sadly setting the password does not work -> create ticket @ edis support ....
- name: (re)enable VNC access with new temporary password