SDN , ifreload --exclude -X examples

Szymons

Member
Feb 11, 2021
69
8
13
Poland
Hello,

In man ifreload there is exclude parameter :
-X EXCLUDEPATS, --exclude EXCLUDEPATS
Exclude interfaces from the list of interfaces to operate on. Can be specified
multiple times

Anyone could show any examples of using this one ?
Is there any limitation for multiple exclude ?
File insert option with all interfaces to exclude ?
 
Thanks for reply !
Yes I have some manual addons over there that I want to keep and add some list with all excluded interfacess to use ifreload -X .
Could You please show any examples ?
 
something like:

ifreload -a -X interface1 -X interface2

you can add -d to display debug,

you should see first line with
info: reload: scheduling up on interfaces: ['lo', 'vmbr0', otherinterfaceX', ...]

without the excluded interfaces
 
  • Like
Reactions: Szymons

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!