forked from forkanization/Proxmox-arm64
add check for armv8.2-a in mongodb
This commit is contained in:
@@ -13,6 +13,13 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
|
cpu_info=$(lscpu)
|
||||||
|
|
||||||
|
if ! echo "$cpu_info" | grep -q 'asimdrdm\|asimdhf\|dotprod\|fp16'; then
|
||||||
|
msg_error "This machine does not support ARMv8.2-A."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y gnupg
|
$STD apt-get install -y gnupg
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y curl
|
||||||
|
|||||||
Reference in New Issue
Block a user