diff options
author | Scott Moser <smoser@ubuntu.com> | 2012-04-05 00:08:42 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2012-04-05 00:08:42 -0400 |
commit | 67fe09104cb347c03ea608c72a1382e8ea252b1d (patch) | |
tree | 3adeab772dcda3ecd70798ca461272e11ce7d2b0 /LICENSE | |
parent | 166edf79d06fb94856c7c7401914c94149cecbc6 (diff) | |
download | vyos-cloud-init-67fe09104cb347c03ea608c72a1382e8ea252b1d.tar.gz vyos-cloud-init-67fe09104cb347c03ea608c72a1382e8ea252b1d.zip |
move the reading of the cmdline cloud-config url to cloud-init.py
The reason for moving this from cloudinit/__init__.py was that it
was running too late there.
The cloudinit.parsed_cfgs variable was already filled by cloud-init.py's
reading of cloud config. I'm sure I had done this so that it would not have to
re-parse configs.
I think the right way to handle this is to move that logic back to
cloudinit/__init__.py and add some function like 'reread_configs()'
that would re-read all releavent cofnigs and re-setup logging.
That seemed more error prone at the moment, with limited time.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions