ansible-edda/playbooks/filesystem/common/etc/systemd/system/connect-pod-service@.service

9 lines
178 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Connect %i to root bridge
After=network.target
[Service]
Type=oneshot
2022-10-07 09:55:51 +02:00
ExecStartPre=-/usr/sbin/ifdown --ignore-errors veth-%i
ExecStart=/usr/sbin/ifup veth-%i