summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_snappy.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-03-27 11:33:58 -0400
committerScott Moser <smoser@ubuntu.com>2015-03-27 11:33:58 -0400
commit6c48673245225c5530c7cc08f5ab82794c708f71 (patch)
tree9a04b1d60206a21ec5c2c5dc0d86faa42378eb29 /cloudinit/config/cc_snappy.py
parentb7b8004bc58f1243d023092e67f3b78743086ff2 (diff)
downloadvyos-cloud-init-6c48673245225c5530c7cc08f5ab82794c708f71.tar.gz
vyos-cloud-init-6c48673245225c5530c7cc08f5ab82794c708f71.zip
set snappy command earlier
Diffstat (limited to 'cloudinit/config/cc_snappy.py')
-rw-r--r--cloudinit/config/cc_snappy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_snappy.py b/cloudinit/config/cc_snappy.py
index a3af98a6..f237feef 100644
--- a/cloudinit/config/cc_snappy.py
+++ b/cloudinit/config/cc_snappy.py
@@ -218,12 +218,12 @@ def handle(name, cfg, cloud, log, args):
LOG.debug("%s: 'auto' mode, and system not snappy", name)
return
+ set_snappy_command()
+
pkg_ops = get_package_ops(packages=mycfg['packages'],
configs=mycfg['config'],
fspath=mycfg['packages_dir'])
- set_snappy_command()
-
fails = []
for pkg_op in pkg_ops:
try: