diff options
author | Nate House nathan.house@rackspace.com <> | 2014-02-04 16:09:09 -0600 |
---|---|---|
committer | Nate House nathan.house@rackspace.com <> | 2014-02-04 16:09:09 -0600 |
commit | 6e0aaf44c7a869d35a962a2d60be2d833023d4ec (patch) | |
tree | 2cf2bf8727e389c53e25190becb2ba44ac2ffd9d /cloudinit/config/cc_grub_dpkg.py | |
parent | 6922fc8294e38ee0780e9d74da7d3ec010a3cd3c (diff) | |
parent | 0efeb26736ddae2967c14a9440088594da32070d (diff) | |
download | vyos-cloud-init-6e0aaf44c7a869d35a962a2d60be2d833023d4ec.tar.gz vyos-cloud-init-6e0aaf44c7a869d35a962a2d60be2d833023d4ec.zip |
Merge gentoo branch and updated set-password to support systemctl
Diffstat (limited to 'cloudinit/config/cc_grub_dpkg.py')
-rw-r--r-- | cloudinit/config/cc_grub_dpkg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cloudinit/config/cc_grub_dpkg.py b/cloudinit/config/cc_grub_dpkg.py index b3ce6fb6..3fd92426 100644 --- a/cloudinit/config/cc_grub_dpkg.py +++ b/cloudinit/config/cc_grub_dpkg.py @@ -26,9 +26,12 @@ distros = ['ubuntu', 'debian'] def handle(_name, cfg, _cloud, log, _args): + idevs = None idevs_empty = None + if _cloud.distro.is_excluded(_name): + return if "grub-dpkg" in cfg: idevs = util.get_cfg_option_str(cfg["grub-dpkg"], "grub-pc/install_devices", None) |