Use -n to 'rescue' ovf-env.xml file and exit
This commit is contained in:
parent
6f6e63f99b
commit
63d46cd6f1
4 changed files with 48 additions and 37 deletions
|
|
@ -96,6 +96,9 @@ cloudinit_fetch(struct system_config *sc)
|
|||
sc->sc_addr.ip = sc->sc_endpoint;
|
||||
sc->sc_addr.family = 4;
|
||||
|
||||
if (sc->sc_dryrun)
|
||||
return (0);
|
||||
|
||||
/* instance-id */
|
||||
if ((sc->sc_instance = cloudinit_get(sc,
|
||||
"/latest/meta-data/instance-id", WORD)) == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue