bugfix: the device names depends on EC2 or VPC