blob: f9e213ed9a893edf9d781b91f6518a4653a9a99e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
: ${microcode_name:='intel-ucode.bin'}
# Only run this file on baremetal hosts.
if [ "$BOXCONF_VIRTUALIZATION_TYPE" != none ]; then
return
fi
pkg install -y cpu-microcode
set_loader_conf \
cpu_microcode_load=YES \
cpu_microcode_name="/boot/firmware/${microcode_name}"
|