VMWare VCloudAir driver is the only one taking an extra step to test
connectivity after machine creation. If this is a desirable step, it
should be done for all drivers in libmachine directly.
Signed-off-by: Vincent Bernat <Vincent.Bernat@exoscale.ch>
where you want to run some prerequisite checks before attempting to
create
the machine. In the case of EC2, this is a check for an existing
keypair. This can be used in the other drivers in the future as well.
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This work sets the machine name in the Cloud API or Hypervisor. As well
as setting the hostname inside the VM.
I've added the machine name to the NewDriver func to allow for
identification by Cloud APIs and for the driver package.
Each driver will attempt to set the hostname for the VM, except for
Azure, which sets it based on the DNS name.
Signed-off-by: Simon Thulbourn <simon+github@thulbourn.com>