Bewertung: 5 / 5

Stern aktivStern aktivStern aktivStern aktivStern aktiv



PenguinHow to solve several issues in Linux after Cloning a VM in KVM

This will solve the issue that you have no network connection.If you run your virtual environment using KVM you will recognize some issues after cloning a virutal machine (eg Ubuntu 10.04 Server).

  1. No network connection could be established
  2. ssh-keys on all clones are identical
  3. hostnames are identical
  4. static ip-addresses are identical and lead to trouble in your network


To solve most of these issues follow the very nice instructions of


mikko's log


After I recognized that the blog is currently unavailable follow the following instructions to resolve this issue after cloning.

  1. sudo rm /etc/udev/rules.d/70-persistent-net.rules
  2. sudo reboot -h now
  3. sudo nano /etc/hosts
    1. Change the hostname and ip-address
  4. sudo nano /etc/hostname
    1. Change the hostname of the VM
  5. If you work with static ip-addresses you have to adjust your network configuration
    1. sudo nano /etc/network/interfaces
      1. Change ip-addresses and other network settings.
  6. sudo reboot -h now
  7. check whether your network is running and your machine is available



Have fun!