The storage driver will be "" by default an the provisioner must choose
their default provisioner. If the user chosen storage driver is not
supported the provisioner should return an error.
Signed-off-by: Darren Shepherd <darren@rancher.com>
This change create GenericProvisioner which is the boilplate or
generic Linux functionality that was previously in the UbuntuProvisioner
Signed-off-by: Darren Shepherd <darren@rancher.com>
This also lays the foundation for the possibility of log drivers in the
future, if it is decided that is a direction to pursue.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This improves on a few issues which are not frequent but do sometimes
come up:
1. Check that the daemon is up before attempting to do anything
docker-ey in provisioning Ubuntu
2. Set a max retries for SSH so that if a request fails it attempts
again before giving up
Also have annotated a few of the SSH options slightly better.
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>