Skip to content

解决VM虚拟机克隆后,ip和主机名混乱问题

License

Notifications You must be signed in to change notification settings

MrNerubian/second_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

second_setup.sh脚本

1,功能描述

解决虚拟机克隆后,ip地址、mac地址、主机名相同造成的不可用问题

2,使用方法

1,在克隆前讲脚本加入到服务器中,使克隆后的机器中有此脚本

2,脚本语法:

[root@server ~]# sh second_set_el6.sh 主机名 IP地址

About

解决VM虚拟机克隆后,ip和主机名混乱问题

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages