Add lxc-update-hosts.service

This commit is contained in:
Mattia Tadini 2025-01-14 16:42:29 +00:00
parent 80b9b37121
commit 24648a59be

11
lxc-update-hosts.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Update /etc/hosts for LXC container
After=lxc-container-start.target
[Service]
Type=oneshot
ExecStart=/usr/local/lxc-scripts/update-hosts-lxc.sh
RemainAfterExit=yes
[Install]
WantedBy=default.target