mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-30 16:14:01 +00:00
15 lines
288 B
Plaintext
15 lines
288 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# Ensure that the TPM2 logs are present (if configured)
|
||
|
mount /sys/kernel/security 2>/dev/ttyprintk
|
||
|
export TPM2TOOLS_TCTI="device:/dev/tpmrm0"
|
||
|
|
||
|
mkdir -p /etc/safeboot
|
||
|
mv /bin/functions.sh /etc/safeboot
|
||
|
|
||
|
ifconfig eth0 10.0.2.15
|
||
|
|
||
|
export PS1='\h:\w# '
|
||
|
|
||
|
exec setsid -c /bin/bash
|