Solved CentOS 7 - no NIC in Hyper-V gen 1 VM
-
You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.
-
@dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.
Would be a fallback, already thought about it.
Should be ok for my use case, but not in a production deployment. Would rather like to solve this one right from the beginning.
-
This post is deleted! -
@dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.
Now you're going to make me go take a look at our install. I know Fedora 26 and 27 just work. I bet CentOS needs the guest drivers installed.
-
@travisdh1 said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
@dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
You need to shut the VM down, and edit it. Add a new Legacy Nic -- those are limited to 100 Mbit.
Now you're going to make me go take a look at our install. I know Fedora 26 and 27 just work. I bet CentOS needs the guest drivers installed.
Uhm. I assumed they are. Erm... You make me look stupid
-
CentOS 7 can be installed using Generation 2 unless Pandora FMS is a strip-down version of CentOS 7.
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v#BKMK_7x -
Why not spin up Pandora on Fedora 26 or so?
-
@black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
CentOS 7 can be installed using Generation 2 unless Pandora FMS is a strip-down version of CentOS 7.
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/supported-centos-and-red-hat-enterprise-linux-virtual-machines-on-hyper-v#BKMK_7xI couldn't even boot as gen 2 (with secure boot disabled). Something I did countless times with Debian based distros.
-
@dafyre said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
Why not spin up Pandora on Fedora 26 or so?
Because I just want to try it a bit and the v7 docker container seems to be broken on the MySQL side. They offer an ISO, so why not use it
-
Sound like you will need to install Linux Integration Services.
https://www.microsoft.com/en-us/download/details.aspx?id=55106 -
@black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
Sound like you will need to install Linux Integration Services.
https://www.microsoft.com/en-us/download/details.aspx?id=55106awesome.. ok, thanks, will try that. Didn't even thought about this, because it's available in the stock Ubuntu ISO which is what I normally use.
-
@thwr said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
@black3dynamite said in CentOS 7 - no NIC in Hyper-V gen 1 VM:
Sound like you will need to install Linux Integration Services.
https://www.microsoft.com/en-us/download/details.aspx?id=55106awesome.. ok, thanks, will try that. Didn't even thought about this, because it's available in the stock Ubuntu ISO which is what I normally use.
Technically, you can install the tools that's available in CentOS but it will be an very old version.
-
Just tried it, and yes, missing integration services.
Long story short: I'll stick with Ubuntu Yeah, I know, I could easily install them, but I'm more in the Debian corner anyway.