Modify the image property for aarch64
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>
This commit is contained in:
parent
01cbe7c143
commit
a9cc38a198
@ -331,7 +331,7 @@ function upload_image {
|
||||
fi
|
||||
|
||||
if is_arch "aarch64"; then
|
||||
img_property="--property hw_machine_type=virt --property hw_cdrom_bus=virtio --property os_command_line='console=ttyAMA0'"
|
||||
img_property="--property hw_machine_type=virt --property hw_cdrom_bus=scsi --property hw_scsi_model=virtio-scsi --property os_command_line='console=ttyAMA0'"
|
||||
fi
|
||||
|
||||
if [ "$container_format" = "bare" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user