Commit 926c78e
committed
libvirt/constants.go: Add arch info to download machine-driver-libvirt binary
machine-driver-libvirt now have arm64 and amd64 binary for linux platfrom. This PR
will make sure correct binary is downloaded and used for specific
platform. Name of the binary should be `machine-driver-libvirt` because
this name is hard-coded as part of the plugin
- https://github.com/crc-org/machine/blob/master/libmachine/drivers/plugin/localbinary/plugin.go#L55-L63
Now during start user get follow warning which need to be ignored
```
WARN Executable name is crc-driver-libvirt but extracted file name is crc-driver-libvirt-amd64
```1 parent 589e152 commit 926c78e
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments