github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/render/testdata/machineconfig/units/switchdev-configuration.yaml (about) 1 contents: | 2 [Unit] 3 Description=Configures SRIOV NIC into switchdev mode 4 # Removal of this file signals firstboot completion 5 ConditionPathExists=!/etc/ignition-machine-config-encapsulated.json 6 # This service is used to move a SRIOV NIC into switchdev mode 7 Wants=network-pre.target 8 Before=network-pre.target 9 10 [Service] 11 Type=oneshot 12 ExecStart=/usr/local/bin/configure-switchdev.sh 13 StandardOutput=journal+console 14 StandardError=journal+console 15 16 [Install] 17 WantedBy=network-online.target 18 enabled: true 19 name: switchdev-configuration.service