Commit d3a54bc
authored
Fix cpu architecture compatibility with b2 host (hestiacp#2394)
* Fix cpu architecture compatibility with b2 host
Add check for cpu architecture and use the python b2 package instead of Github for arm64 architecture as the GitHub version doesn't exist and will produce an error.
* Add check if pip3 exists
If pip3 doesn't exit install python3-pip
* change arm cpu architecture handing
- change the way the script handles servers with ARM cpus, from downloading using pip3, to returning an error requesting the user solve this using manual action.1 parent 88b3275 commit d3a54bc
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
188 | 191 | | |
189 | 192 | | |
190 | 193 | | |
191 | | - | |
192 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
193 | 201 | | |
194 | 202 | | |
195 | 203 | | |
| |||
0 commit comments