Dear Learner,
We hope you are doing well.
Please follow the below given steps to access internet inside edureka vm.
Please power off the VM and then go to network settings in Virtual box
Set Adapter 1 as NAT and Adapter 2 as Hosts Only Adapter as shown below:
Then open the VM and follow the same as shown