- [Unit]
- Description=Open vSwitch
- Before=network.target
- After=network-pre.target ovsdb-server.service ovs-vswitchd.service
- PartOf=network.target
- Requires=ovsdb-server.service
- Requires=ovs-vswitchd.service
-
- [Service]
- Type=oneshot
- ExecStart=/usr/bin/ovs-vsctl set open . external-ids:hostname=%H
- ExecReload=/bin/true
- ExecStop=/bin/true
- RemainAfterExit=yes
-
- [Install]
- WantedBy=multi-user.target
|