Add lxc-update-hosts.service
This commit is contained in:
parent
80b9b37121
commit
24648a59be
11
lxc-update-hosts.service
Normal file
11
lxc-update-hosts.service
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user