#!/bin/bash #TEMPLATE_VM='a1fb3f33-2fd4-6aef-13d9-39a61335425e' TEMPLATE_VM='6ef7a6a2-d44c-38ca-2cb2-cdcd24cea59b' SR_UUID='14640e93-6b38-99e9-5ec3-3074fd8408d9' for i in {1..18} do SERIAL=`printf %03d $i` echo -n "Cloning lab-linux-$SERIAL ...." xe vm-copy new-name-label=lab-linux-$SERIAL vm=$TEMPLATE_VM sr-uuid=$SR_UUID echo "done" done
Facebook Comments Box