Adrian Vladu 1a98b6742a nocloud: fix network config regression
With commit
f0fe66b30b,
the network config in case of NoCloudConfigDrive was supported only if
it was in the format:

```yaml
network:
  config: ...
  version: 1|2
```

Before the commit, the following format was also supported:

```yaml
config: ...
version: 1
```

Added support for both formats and made sure that the `network` key is
not required.

Change-Id: I7478a8654443db83f0f3995839811910c468a06c
Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
2024-06-21 14:55:55 +03:00
..
2024-05-31 13:24:45 +00:00
2012-12-01 23:50:15 +02:00
2020-01-14 17:05:01 +02:00
2019-08-19 16:35:56 +03:00
2024-05-31 13:24:45 +00:00