11 lines
280 B
Django/Jinja
11 lines
280 B
Django/Jinja
#!/bin/bash
|
|
|
|
# Workaround for ansible output regression
|
|
export PYTHONUNBUFFERED=1
|
|
|
|
# Apply firstboot configuration w/ ansible
|
|
/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
|