mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 21:43:11 +00:00
c40748aa25
This addresses multiple issues: * Issue #63: initrd is build fresh each time, so tracked files do not matter. * Issue #144: build time configuration * Issue #123: allows us to customize the startup experience * Issue #122: manual start-xen will go away * Issue #25: tpmtotp PCRs are updated after reading the secret * Issue #16: insmod now meaures modules
18 lines
340 B
Bash
Executable File
18 lines
340 B
Bash
Executable File
#!/bin/sh
|
|
# Bring up the x230's NIC, get a DHCP address and invoke keylime
|
|
|
|
insmod /lib/modules/e1000e.ko
|
|
udhcpc -n
|
|
|
|
cd /
|
|
wget-measure.sh 6 http://192.168.1.5/keylime.tar.gz
|
|
tar xf keylime.tar.gz
|
|
|
|
if [ ! -x /keylime-node ]; then
|
|
echo '!!!! Keylime overlay not found?'
|
|
tpm extend -ix 4 -ic "recovery"
|
|
exec /bin/ash
|
|
fi
|
|
|
|
exec /keylime-node
|