summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_set_hostname.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2016-03-02 13:23:55 -0600
committerRyan Harper <ryan.harper@canonical.com>2016-03-02 13:23:55 -0600
commit568d15d7fb239e609fb70cc7c7a08205e640bf25 (patch)
tree4f757f31484e4290d9f084f3a745e346eaaca1fa /cloudinit/config/cc_set_hostname.py
parent3b773f7919c86a58956e2fc493512bb2c1ce31a8 (diff)
downloadvyos-cloud-init-568d15d7fb239e609fb70cc7c7a08205e640bf25.tar.gz
vyos-cloud-init-568d15d7fb239e609fb70cc7c7a08205e640bf25.zip
Fix logic error in lxd config check
If the cloud-config does not contain and lxd dictionary then we should not attempt to install the package. Change the latter half of the check to negate the dictionary type check. This fix prevents us from always installing lxd, rather than only installing when we have a config. Fix pyflakes check on init_cfg dict error message.
Diffstat (limited to 'cloudinit/config/cc_set_hostname.py')
0 files changed, 0 insertions, 0 deletions