From 0087026132dea946214d6527298f45179a9ff764 Mon Sep 17 00:00:00 2001 From: Paul Martin Date: Wed, 5 Dec 2018 12:58:42 +0000 Subject: [PATCH] Prevent using spice console on arm64 Currently there is no support for vnc or spice consoles on arm64 architecture. Set the default to be serialconsole. Change-Id: Idd8933cd54194093e635b3e0ba201df275b6f74f --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 06d06d0c..894a260f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -318,7 +318,7 @@ nova_libvirt_hw_disk_discard: '{{ nova_libvirt_images_rbd_pool is defined | tern ## Nova console nova_console_agent_enabled: True # Set the console type. Presently the only options are ["spice", "novnc", "serialconsole"]. -nova_console_type: spice +nova_console_type: "{{ (ansible_architecture == 'aarch64') | ternary('serialconsole', 'spice') }}" # Nova console ssl info, presently only used by novnc console type nova_console_ssl_dir: "/etc/nova/ssl"