Make all templates local, ensure ssh keys for amd64 builds are generated on first boot

This commit is contained in:
Ana Custura 2026-03-24 11:25:10 +00:00
parent 0fa18af48e
commit c22e6ed557
14 changed files with 459 additions and 59 deletions

View file

@ -0,0 +1,15 @@
[Unit]
Description=Butterbox setting management service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=on-failure
RestartSec=1
User=root
ExecStart=/bin/bash -c "chmod 600 /etc/ssh/*key && python3 change_manager.py"
WorkingDirectory=/home/{{ butter_user }}/butter-portal
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target