diff options
Diffstat (limited to 'cloudinit/DataSourceMAAS.py')
-rw-r--r-- | cloudinit/DataSourceMAAS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceMAAS.py b/cloudinit/DataSourceMAAS.py index 61a0038f..e3e62057 100644 --- a/cloudinit/DataSourceMAAS.py +++ b/cloudinit/DataSourceMAAS.py @@ -293,7 +293,7 @@ if __name__ == "__main__": if args.config: import yaml with open(args.config) as fp: - cfg = yaml.load(fp) + cfg = yaml.safe_load(fp) if 'datasource' in cfg: cfg = cfg['datasource']['MAAS'] for key in creds.keys(): |