mirror of
https://github.com/apache/cloudstack
synced 2026-09-02 17:40:22 +00:00
account for vxlan interfaces named vx<vni>
This commit is contained in:
parent
88a5202eea
commit
5df50297ef
@ -1073,7 +1073,7 @@ ServerResource {
|
||||
String fname = interfaces[i].getName();
|
||||
s_logger.debug("matchPifFileInDirectory: file name '"+fname+"'");
|
||||
if (fname.startsWith("eth") || fname.startsWith("bond")
|
||||
|| fname.startsWith("vlan") || fname.startsWith("vxlan") || fname.startsWith("em")
|
||||
|| fname.startsWith("vlan") || fname.startsWith("vx") || fname.startsWith("em")
|
||||
|| fname.matches("^p\\d+p\\d+.*")) {
|
||||
return fname;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user