1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

change enp2 to enp interfaces

This commit is contained in:
Cherdancev Evgeni 2015-05-19 14:10:23 +06:00
parent aaf77b9dd1
commit 0728ea0bac

View File

@ -43,7 +43,7 @@ nodeinfo_text.split(/\n/).each{|line|
# for everything else, top & proc
#####
NETINTERFACE = "eth|bond|em|enp2|p[0-9]+p[0-9]+"
NETINTERFACE = "eth|bond|em|enp|p[0-9]+p[0-9]+"
stat = `cat /proc/stat`