diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2017-08-11 13:24:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-08-11 13:24:18 +0000 |
commit | f8137ae0ea1c41c2e37a7ccd2a5d4b65a37e5dba (patch) | |
tree | a5513a281e40a244f082be4ad867ba81f81561ac /mcp | |
parent | 530987f59295ca04b340f5dc7fd2abc53839a85f (diff) | |
parent | 4023a639de3873bbae3e2b112f652791c5962ffa (diff) |
Merge "lib.sh: AArch64: Use VGA video mode for guests"
Diffstat (limited to 'mcp')
-rw-r--r-- | mcp/scripts/lib.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mcp/scripts/lib.sh b/mcp/scripts/lib.sh index 33dba3ccc..8d4510084 100644 --- a/mcp/scripts/lib.sh +++ b/mcp/scripts/lib.sh @@ -78,6 +78,13 @@ create_vms() { net_args="${net_args} --network ${net_type}=${net},model=virtio" done + # AArch64: prepare arch specific arguments + local virt_extra_args="" + if [ "$(uname -i)" = "aarch64" ]; then + # No Cirrus VGA on AArch64, use vga std + virt_extra_args="$virt_extra_args --video=vga" + fi + # create vms with specified options for node in "${vnodes[@]}"; do # shellcheck disable=SC2086 @@ -88,7 +95,8 @@ create_vms() { --os-type linux --os-variant none \ --boot hd --vnc --console pty --autostart --noreboot \ --disk path="$(pwd)/images/mcp_${node}.iso",device=cdrom \ - --noautoconsole + --noautoconsole \ + ${virt_extra_args} done } |