summaryrefslogtreecommitdiff
path: root/cloudinit/transforms/cc_apt_pipelining.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/transforms/cc_apt_pipelining.py')
-rw-r--r--cloudinit/transforms/cc_apt_pipelining.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/cloudinit/transforms/cc_apt_pipelining.py b/cloudinit/transforms/cc_apt_pipelining.py
index 0286a9ae..69027b0c 100644
--- a/cloudinit/transforms/cc_apt_pipelining.py
+++ b/cloudinit/transforms/cc_apt_pipelining.py
@@ -16,10 +16,13 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import cloudinit.util as util
-from cloudinit.CloudConfig import per_instance
+from cloudinit import util
+from cloudinit.settings import PER_INSTANCE
+
+frequency = PER_INSTANCE
+
+distros = ['ubuntu', 'debian']
-frequency = per_instance
default_file = "/etc/apt/apt.conf.d/90cloud-init-pipelining"