Update hw-acceleration.sh
This commit is contained in:
parent
44d51786e3
commit
63ec528771
@ -117,18 +117,18 @@ function main() {
|
|||||||
msg info "Intel passthrough setup for CT $ctid"
|
msg info "Intel passthrough setup for CT $ctid"
|
||||||
passthrough_intel_to_lxc "$ctid" && install_intel_tools_in_ct "$ctid" && updated=1
|
passthrough_intel_to_lxc "$ctid" && install_intel_tools_in_ct "$ctid" && updated=1
|
||||||
;;
|
;;
|
||||||
nvidia)
|
# nvidia)
|
||||||
msg info "Validating NVIDIA setup..."
|
# msg info "Validating NVIDIA setup..."
|
||||||
nvidia_validate_driver_version
|
# nvidia_validate_driver_version
|
||||||
nvidia_validate_cuda_version
|
# nvidia_validate_cuda_version
|
||||||
local minor
|
# local minor
|
||||||
minor=$(nvidia_select_gpu_minor)
|
# minor=$(nvidia_select_gpu_minor)
|
||||||
nvidia_lxc_passthrough "$ctid" "$minor" && updated=1
|
# nvidia_lxc_passthrough "$ctid" "$minor" && updated=1
|
||||||
;;
|
# ;;
|
||||||
amd)
|
# amd)
|
||||||
msg info "Applying AMD passthrough to CT $ctid..."
|
# msg info "Applying AMD passthrough to CT $ctid..."
|
||||||
passthrough_amd_to_lxc "$ctid" && install_amd_tools_in_ct "$ctid" && updated=1
|
# passthrough_amd_to_lxc "$ctid" && install_amd_tools_in_ct "$ctid" && updated=1
|
||||||
;;
|
# ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user