1 ##############################################################################
2 # Copyright (c) 2017 Tim Rozet (trozet@redhat.com) and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 # Used to modify undercloud qcow2 image
12 from apex.common import constants as con
13 from apex.virtual import utils as virt_utils
16 def add_upstream_packages(image):
18 Adds required base upstream packages to Undercloud for deployment
26 'python2-networking-sfc',
27 'openstack-ironic-inspector',
29 'docker-distribution',
30 'openstack-tripleo-validations',
35 virt_ops.append({con.VIRT_INSTALL: pkg})
36 virt_utils.virt_customize(virt_ops, image)
38 # TODO(trozet): add rest of build for undercloud here as well