In Aarch64, the default cdrom bus is scsi, and the default scsi
controller is virtio-scsi. The cdrom with virtio bus will not be
recognized by the instance.
Change-Id: Ib8cec79f9e9083239092fa7348793ee3b64a9c94
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
| ... | ... |
@@ -331,7 +331,7 @@ function upload_image {
|
| 331 | 331 |
fi |
| 332 | 332 |
|
| 333 | 333 |
if is_arch "aarch64"; then |
| 334 |
- img_property="--property hw_machine_type=virt --property hw_cdrom_bus=virtio --property os_command_line='console=ttyAMA0'" |
|
| 334 |
+ img_property="--property hw_machine_type=virt --property hw_cdrom_bus=scsi --property hw_scsi_model=virtio-scsi --property os_command_line='console=ttyAMA0'" |
|
| 335 | 335 |
fi |
| 336 | 336 |
|
| 337 | 337 |
if [ "$container_format" = "bare" ]; then |