Does it make sense to move login statements from script builder to
compute? That would eliminate (i).
I don't know scriptbuilder too well, but I think if we really want to
decouple it we should take *all* hard-coded statements out of it and
make the script building "engine" a separate (potentially
jclouds-independent) module which is used by jclouds-scriptbuilder to
generate the relevant scripts.
In this way, we would not have to move stuff around *in jclouds* too much.
@iocanel: would a "scriptbuilder engine" be enough for you? How much
effort do you think it would be to pull something like that out? If
so, a PR would obviously be a great way to see how big the impact of
the change actually is ;-)
ap