VMware Workstation cloning Linux virtual machine operations

Source: Internet
Author: User

1. Delete MAC address, modify IP

[Email protected] network-scripts]# vim Ifcfg-eth0

[email protected] network-scripts]# Cat!$ # Remove MAC address, modify IP

Cat Ifcfg-eth0

Device=eth0

Nm_controlled=yes

ipaddr=192.168.1.63

netmask=255.255.255.0

gateway=192.168.1.1

dns1=8.8.8.8

Onboot=yes

Type=ethernet

Bootproto=none

Ipv6init=no

Userctl=no

Prefix=24

Defroute=yes

Ipv4_failure_fatal=yes

Name= "Eth0"

2. Modify Host Name

[Email protected] ~]# vim/etc/sysconfig/network

Networking=yes

hostname=xuegod63.cn

3. Delete the NIC information file

[Email protected] network-scripts]# Rm-rf/etc/udev/rules.d/70-persistent-net.rules

Restart:

Reboot

VMware Workstation cloning Linux virtual machine operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.