首页 > 其他 > 详细

vmware workstation中正确创建Linux虚拟机模板的步骤

时间:2014-03-08 22:46:34      阅读:1226      评论:0      收藏:0      [点我收藏+]
  1. Connect to the  Linux virtual machine to be used as a template. Flag the system for reconfiguration by running the following command as root:
    # touch /.unconfigured
  2. Remove ssh host keys. Run:
    # rm -rf /etc/ssh/ssh_host_*
  3. Remove the MAC address inherited from the original virtual machine. Before doing so, deactivate the eth0 network interface. Run:
    # ifdown eth0
    Use a text editor to modify the /etc/sysconfig/network-scripts/ifcfg-eth0 file. Remove the HWADDR and UUID entry
    Save and close the file, then bring the network interface back up. Run:
    # ifup eth0
  4. Using a text editor, remove the entry for the eth0 network interface in the /etc/udev/rules.d/70-persistent-net.rules file

  5. Shut down the virtual machine. Run:
    # poweroff



本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1370282

vmware workstation中正确创建Linux虚拟机模板的步骤,布布扣,bubuko.com

vmware workstation中正确创建Linux虚拟机模板的步骤

原文:http://hj192837.blog.51cto.com/655995/1370282

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!