Closed djay closed 13 years ago
I was thinking of a single bootstrap function that would then call bootstrap_ubuntu or bootstrap_freebsd etc. It would do this by comparing hostos param to the method names. Could even support more specific os like bootstrap_ubuntu_lucid if we use substring comparison. If no hostos exists we can login and check. External plugins could default their own hostos via their recipe to force their use. Note hostos param is already used by hostout.cloud to determine what image to create.
and alternative could be to try each boostrap_X in turn until one returns True. This would give the function the to determine if applies or not
this is complete
autodetection would be nice