Support for openstack meta_data.json, connect timeout, other fixes.

This commit is contained in:
Reyk Floeter 2018-01-10 14:13:49 +01:00
commit ac66f160e0
7 changed files with 279 additions and 55 deletions

View file

@ -64,6 +64,7 @@ azure(struct system_config *sc)
int ret = -1;
/* Apply defaults */
free(sc->sc_username);
if ((sc->sc_username = strdup("azure-user")) == NULL) {
log_warnx("failed to set default user");
goto done;