I am not sure. May be this is the fastest native way for adding new node to the clusters of Hadoop, Redis or Elasticsearch or this kind of stuffs.
I’ve tested it within a few number of clusters hosted in VritualBox.
Each machine got two network adapters. The first one is NAT for providing Internet. The second one is Host-Only for keeping the machines connected together. The Host-Only needs to be updated after cloning.
I Assumed you have already installed everything that the new node should live with.
0. Make a complete network initialized clone of the source node.
1. Start the new machine.
2. sudo nano /etc/hosts
3. sudo nano /etc/hostname
4. sudo nano /etc/network/interfaces
5. sudo rm /etc/udev/rules.d/70-persistent-net.rules
6. sudo reboot
I love it. I am adding a new node by a few clicks and a little editing less than a couple of minutes.
It could be better to copy all you would need to the seed node before.