if ! ifclass STABLE; then
if ifclass VM; then
- # 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
else
# get persistent interface name. Note, these class conditions
# will need to get modified for new oses. testing vm doesn't use