在建立虚拟机的时候网卡选择默认的即可,本人在安装时选择旧版网卡适配器时,在安装完毕后出现网络不通的情况。
安装结束后在编辑Ubuntu Server中的文件/etc/initramfs-tools/modules,在文件末尾添加配置行:hv_vmbushv_storvschv_blkvschv_netvsc4. 运行update-initramfs,并reboot系统# sudo update-initramfs –u# sudo reboot
网卡设置:
edit /etc/network/interfaces and add the following to the end of the file
For DHCP (what I did):
auto eth0
iface eth0 inet dhcp
For a Static IP address:
auto eth0
iface eth0 inet static
address [insert your IP address]
netmask [insert your netmask]
Gateway [insert your gateway address]
阅读(1040) | 评论(0) | 转发(0) |