Open Vswitch Ubuntu 16.04 Problem: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Ändern= */lib/systemd/system/openvswitch-nonetwork.service <pre> [Unit] Description=Open vSwitch Internal Unit PartOf=openvswitch-switch.service #https://b…“) |
(kein Unterschied)
|
Aktuelle Version vom 12. Oktober 2017, 10:42 Uhr
Ändern
- /lib/systemd/system/openvswitch-nonetwork.service
[Unit]
Description=Open vSwitch Internal Unit
PartOf=openvswitch-switch.service
#https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1448254
# Without this all sorts of looping dependencies occur doh!
DefaultDependencies=no
#precedants pulled from isup@ service requirements
After=apparmor.service local-fs.target systemd-tmpfiles-setup.service
#subsequent to this service we need the network to start
Wants=network-pre.target openvswitch-switch.service
Before=network-pre.target openvswitch-switch.service
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=-/etc/default/openvswitch-switch
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl start \
--system-id=random $OVS_CTL_OPTS
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
- /etc/default/openvswitch-switch
OVS_CTL_OPTS='--delete-bridges'
systemctl daemon-reload
- systemctl daemon-reload