github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/bindata/manifests/sriov-config-service/openshift/sriov-config-service.yaml (about) 1 apiVersion: machineconfiguration.openshift.io/v1 2 kind: MachineConfig 3 metadata: 4 labels: 5 machineconfiguration.openshift.io/role: worker 6 name: sriov-config-service 7 spec: 8 config: 9 ignition: 10 version: 3.2.0 11 systemd: 12 units: 13 - contents: | 14 [Unit] 15 # Removal of this file signals firstboot completion 16 ConditionPathExists=!/etc/ignition-machine-config-encapsulated.json 17 Description=Configures SRIOV NIC - pre network configuration 18 DefaultDependencies=no 19 After=network-pre.target systemd-udev-settle.service systemd-sysusers.service systemd-sysctl.service 20 Before=network.target NetworkManager.service systemd-networkd.service ovs-vswitchd.service ovsdb-server.service 21 22 [Service] 23 Type=oneshot 24 ExecStart=/var/lib/sriov/sriov-network-config-daemon service -v {{ .LogLevel }} --zap-log-level {{ .LogLevel }} --phase pre 25 StandardOutput=journal+console 26 27 [Install] 28 WantedBy=multi-user.target 29 enabled: true 30 name: "sriov-config.service" 31 - contents: | 32 [Unit] 33 # Removal of this file signals firstboot completion 34 ConditionPathExists=!/etc/ignition-machine-config-encapsulated.json 35 Description=Configures SRIOV NIC - post network configuration 36 After=systemd-networkd-wait-online.service NetworkManager-wait-online.service 37 Before=network-online.target 38 39 [Service] 40 Type=oneshot 41 ExecStart=/var/lib/sriov/sriov-network-config-daemon service -v {{ .LogLevel }} --zap-log-level {{ .LogLevel }} --phase post 42 StandardOutput=journal+console 43 44 [Install] 45 WantedBy=network-online.target 46 enabled: true 47 name: "sriov-config-post-network.service"