[PVE-User] Interfaces startup and ip-up.d scripts...
gaio at sv.lnf.it
Tue May 15 18:57:56 CEST 2018
In chel di` si favelave...
> I suggest using post-up / pre-down hooks in interfaces. It makes sure that the interfaces are actually up before the commands get executed.
>From 'interfeces' manpage:
Please note that as post-up and pre-down are aliases, no files in the corresponding directories are processed. Please use if-up.d and if-down.d directories instead.
so seems that put script in if-up.d or as post-up stanzas is the same.
Also, seems to me that the trouble came from the fact that network
scripts does not run at all fro vmbr0 and vmbr1 interfaces!
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.lanostrafamiglia.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)lanostrafamiglia.it t +39-0434-842711 f +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the pve-user