summaryrefslogtreecommitdiff
path: root/playbooks
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/legacy/nova-live-migration/run.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/playbooks/legacy/nova-live-migration/run.yaml b/playbooks/legacy/nova-live-migration/run.yaml
index 6e5d3a46d5..5101b0d6e1 100644
--- a/playbooks/legacy/nova-live-migration/run.yaml
+++ b/playbooks/legacy/nova-live-migration/run.yaml
@@ -23,6 +23,21 @@
chdir: '{{ ansible_user_dir }}/workspace'
environment: '{{ zuul | zuul_legacy_vars }}'
+ - name: Configure devstack
+ shell:
+ # Force config drive.
+ cmd: |
+ set -e
+ set -x
+ cat << 'EOF' >>"/tmp/dg-local.conf"
+ [[local|localrc]]
+ FORCE_CONFIG_DRIVE=True
+
+ EOF
+ executable: /bin/bash
+ chdir: '{{ ansible_user_dir }}/workspace'
+ environment: '{{ zuul | zuul_legacy_vars }}'
+
- shell:
cmd: |
set -e