- # For a vm, we only get ID_NET_NAME_MAC from below,
- # but when it reboots, it uses ID_NET_NAME_SLOT.
- NIC1=ens3
+ # older distro still uses eth0
+ if ifclass BELENOS64; then
+ NIC1=eth0
+ else
+ # For a vm, we only get ID_NET_NAME_MAC from below,
+ # but when it reboots, it uses ID_NET_NAME_SLOT.
+ NIC1=ens3
+ fi