mirror of
https://github.com/ergosteur/ergo-proxmox-scripts.git
synced 2026-10-28 13:00:37 -04:00
Checked against the live host. None of these are in service: - sriov-enp4s0.service and set-ixgbe-vfmacs-enp4s0.sh target enp4s0f1np1, which no longer exists; sriov_numvfs is 0 on every port and the unit was never installed. - nic-performance-tweaks.service was never installed either, though its interfaces do still exist, so it would work if reinstated. - vm-watchdog.sh watches VMID 2801 "pfsense", which no longer exists. - lxc-watchdog.sh still carries the upstream example targets: CT 100 and CT 101 on 192.168.31.0/24, a subnet that is not in use. Neither watchdog is scheduled; there is no root crontab. The watchdog config moves to unused/conf/ alongside them, so the scripts resolve it unchanged from their new location. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
10 lines
363 B
Desktop File
10 lines
363 B
Desktop File
[Unit]
|
|
Description=Script to enable SR-IOV on boot for enp4s0
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/bash -c '/usr/bin/echo 0 > /sys/class/net/enp4s0f0np0/device/sriov_numvfs'
|
|
ExecStart=/usr/bin/bash -c '/usr/bin/echo 4 > /sys/class/net/enp4s0f1np1/device/sriov_numvfs'
|
|
ExecStart=/opt/ergosteur/set-ixgbe-vfmacs-enp4s0.sh
|
|
[Install]
|
|
WantedBy=multi-user.target
|