【Linux】第十部分 克隆虚拟机
10. 克隆虚拟机
10.1 克隆
首先关闭当前的虚拟机
10.2 对克隆后的虚拟机修改系统相关配置
- 修改IP :
vim /etc/sysconfig/network-scripts/ifcfg-ens33
- 配置hosts文件:
vim /etc/hosts
C:\Windows\System32\drivers\etc
找到hosts
文件,将刚刚我们填入Linux的内容再次填入到windows中
-
修改主机名 :
vim /etc/hostname
也可以使用 :
hostnamectl set-hostname xxxx
总结
以上就是今天要讲的内容,希望对大家有所帮助!!!