Skip to content

Commit

Permalink
chore: use virtio driver for disks in arm64
Browse files Browse the repository at this point in the history
ARM64 doesn't support `ide` as a disk driver for disks, use `virtio`
instead.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Oct 16, 2024
1 parent db248de commit a859cff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/talosctl/cmd/mgmt/cluster/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,11 @@ func create(ctx context.Context) error {
for i := range extraDisks {
driver := "ide"

// ide driver is not supported on arm64
if targetArch == "arm64" {
driver = "virtio"
}

if i < len(extraDisksDrivers) {
driver = extraDisksDrivers[i]
}
Expand Down

0 comments on commit a859cff

Please sign in to comment.