Hi there,
For a project, I'm building a script that configures a PVE environment dynamically based on a lot of variables. In my piece of code where I create a vmbr I set a default interfaces (bridge-port). Unfortunately sometimes after a reboot, the interface name changes (e.g. eth0 > ens18). Messing up the network connectivity of the machine.
My idea was to use the tool `pve-network-interfaces-pinning` to pin interfaces names before it reboots. Unfortunately the generate command doesn't parse '-y or --yes', and returns;
'Unknown option: y'
'400 unable to parse option'
I was not able to find any documentation regarding non-interactive / scripted usage of this tool.
Has anyone else tried using the tool this way or am I trying to use the tool incorrectly?
Thanks!
For a project, I'm building a script that configures a PVE environment dynamically based on a lot of variables. In my piece of code where I create a vmbr I set a default interfaces (bridge-port). Unfortunately sometimes after a reboot, the interface name changes (e.g. eth0 > ens18). Messing up the network connectivity of the machine.
My idea was to use the tool `pve-network-interfaces-pinning` to pin interfaces names before it reboots. Unfortunately the generate command doesn't parse '-y or --yes', and returns;
'Unknown option: y'
'400 unable to parse option'
I was not able to find any documentation regarding non-interactive / scripted usage of this tool.
Has anyone else tried using the tool this way or am I trying to use the tool incorrectly?
Thanks!