a85ce75d6b
If we're installing pip/virtualenv from source, we need to make sure we pre-install the packaged versions before the upstream versions. Otherwise, CI jobs later on that depend on packaged versions of pip/virtualenv can bring them in and overwrite the upstream versions we have installed, which leads to a heck of a mess and usually very confusing failures. I have also moved in a small hack from system-config:install_puppet.sh that we found was necessary when using pip versions from upstream. Note this is not as much of an issue on Debian/Ubuntu, as they keep their pip packages in a separate place to the system packages, so you don't have these overwite conflicts as much. Change-Id: Ib40708c07b939b84661c44df88a5a308fd0c7216 |
||
---|---|---|
.. | ||
environment.d | ||
yum.repos.d | ||
element-deps | ||
element-provides | ||
README.rst |
============== centos-minimal ============== Create a minimal image based on CentOS 7. Use of this element will require 'yum' and 'yum-utils' to be installed on Ubuntu and Debian. Nothing additional is needed on Fedora or CentOS. The `DIB_OFFLINE` or more specific `DIB_YUMCHROOT_USE_CACHE` variables can be set to prefer the use of a pre-cached root filesystem tarball. By default, `DIB_YUM_MINIMAL_CREATE_INTERFACES` is set to enable the creation of `/etc/sysconfig/network-scripts/ifcfg-eth[0|1]` scripts to enable DHCP on the `eth0` & `eth1` interfaces. If you do not have these interfaces, or if you are using something else to setup the network such as cloud-init, glean or network-manager, you would want to set this to `0`.