2021-06-08 21:56:06 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-01-25 10:28:28 +01:00
|
|
|
# Workaround for ansible output regression
|
|
|
|
export PYTHONUNBUFFERED=1
|
|
|
|
|
2021-06-09 22:11:06 +02:00
|
|
|
# Apply firstboot configuration w/ ansible
|
2023-01-25 10:28:28 +01:00
|
|
|
/usr/local/bin/ansible-playbook /opt/firstboot/ansible/playbook.yml | tee -a /var/log/firstboot.log > /dev/tty1 2>&1
|
|
|
|
|
|
|
|
# Cleanup console
|
|
|
|
clear > /dev/tty1
|