diff options
author | Scott Moser <smoser@ubuntu.com> | 2015-03-27 11:33:58 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2015-03-27 11:33:58 -0400 |
commit | 6c48673245225c5530c7cc08f5ab82794c708f71 (patch) | |
tree | 9a04b1d60206a21ec5c2c5dc0d86faa42378eb29 /cloudinit/config/cc_snappy.py | |
parent | b7b8004bc58f1243d023092e67f3b78743086ff2 (diff) | |
download | vyos-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.py | 4 |
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: |