diff options
| author | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2016-03-11 11:29:15 -0800 | 
|---|---|---|
| committer | Sankar Tanguturi <stanguturi@stanguturi-rhel> | 2016-03-11 11:29:15 -0800 | 
| commit | a3fd7441f8ea4d25e96b9bc0eca7cbb6164a4691 (patch) | |
| tree | 74a6ebbe7c91c30467577eb231fab8c5f188b93c /cloudinit/config/cc_grub_dpkg.py | |
| parent | a6e0922a4d34ede6df000dd8fc4bb3531218d69f (diff) | |
| parent | 41470d29f5888baf7ec78e170cc0d6d981dcf63e (diff) | |
| download | vyos-cloud-init-a3fd7441f8ea4d25e96b9bc0eca7cbb6164a4691.tar.gz vyos-cloud-init-a3fd7441f8ea4d25e96b9bc0eca7cbb6164a4691.zip | |
- Executed 'bzr merge' and resolved all the conflicts.
- Now my branch is identical to trunk.dist
Diffstat (limited to 'cloudinit/config/cc_grub_dpkg.py')
| -rw-r--r-- | cloudinit/config/cc_grub_dpkg.py | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/cloudinit/config/cc_grub_dpkg.py b/cloudinit/config/cc_grub_dpkg.py index 456597af..3c2d9985 100644 --- a/cloudinit/config/cc_grub_dpkg.py +++ b/cloudinit/config/cc_grub_dpkg.py @@ -37,12 +37,11 @@ def handle(name, cfg, _cloud, log, _args):          return      idevs = util.get_cfg_option_str(mycfg, "grub-pc/install_devices", None) -    idevs_empty = util.get_cfg_option_str(mycfg, -        "grub-pc/install_devices_empty", None) +    idevs_empty = util.get_cfg_option_str( +        mycfg, "grub-pc/install_devices_empty", None)      if ((os.path.exists("/dev/sda1") and not os.path.exists("/dev/sda")) or -            (os.path.exists("/dev/xvda1") -            and not os.path.exists("/dev/xvda"))): +       (os.path.exists("/dev/xvda1") and not os.path.exists("/dev/xvda"))):          if idevs is None:              idevs = ""          if idevs_empty is None: @@ -66,7 +65,7 @@ def handle(name, cfg, _cloud, log, _args):                   (idevs, idevs_empty))      log.debug("Setting grub debconf-set-selections with '%s','%s'" % -        (idevs, idevs_empty)) +              (idevs, idevs_empty))      try:          util.subp(['debconf-set-selections'], dconf_sel) | 
