
- Add sma user module to little-rascal configuration for passwordless deployment - Replace cosmic-greeter with greetd on both congenital-optimist and little-rascal - Implement staggered auto-update system that updates remote machines first - Add proper SSH user configuration for secure deployments - Fix deployment permission issues by configuring admin user access - Ensure orchestrator machine (congenital-optimist) reboots last to prevent SSH disconnection - Add comprehensive error handling and update reporting - Successfully tested lab tool deployment and auto-update on all machines Fixes the critical issue where orchestrator reboot could break SSH connections during multi-machine updates.
26 lines
532 B
Desktop File
26 lines
532 B
Desktop File
[Unit]
|
|
Description=Home Lab Auto-Update Service
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
WorkingDirectory=/home/geir/Home-lab
|
|
ExecStart=/run/current-system/sw/bin/lab auto-update
|
|
Environment=HOME=/root
|
|
Environment=PATH=/run/current-system/sw/bin:/usr/bin:/bin
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=lab-auto-update
|
|
|
|
# Security settings
|
|
NoNewPrivileges=true
|
|
ProtectSystem=false
|
|
ProtectHome=false
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|