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

9 lines
178 B
Desktop File

[Unit]
Description=Connect %i to root bridge
After=network.target
[Service]
Type=oneshot
ExecStartPre=-/usr/sbin/ifdown --ignore-errors veth-%i
ExecStart=/usr/sbin/ifup veth-%i