Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
391B

  1. [Unit]
  2. Description=Open vSwitch
  3. Before=network.target
  4. After=network-pre.target ovsdb-server.service ovs-vswitchd.service
  5. PartOf=network.target
  6. Requires=ovsdb-server.service
  7. Requires=ovs-vswitchd.service
  8. [Service]
  9. Type=oneshot
  10. ExecStart=/usr/bin/ovs-vsctl set open . external-ids:hostname=%H
  11. ExecReload=/bin/true
  12. ExecStop=/bin/true
  13. RemainAfterExit=yes
  14. [Install]
  15. WantedBy=multi-user.target