a27c0b69db
Add a new element that will set up and configure a Debian or Ubuntu mirror. It will not populate the mirror during image creation, but will do so after it is deployed. Change-Id: Icf46015c8fd8a5b8cf18d0f8ceb99fe429e34f81
834 B
834 B
Installs apt-mirror from packages.
Please note that Debian or Ubuntu mirrors are very large -- a single architecture of a single series is roughly 50GiB, and a full Ubuntu archive is on the order of 600GiB -- so please keep in mind when you attach storage.
Configuration
debian-mirror:
mirror: "http://archive.ubuntu.com/ubuntu"
# The mirror you wish to mirror from.
suites: ["saucy", "saucy-updates", "saucy-security"]
# An array of suites you wish to mirror, such as `saucy' or `wheezy'.
architectures: [{"arch": "amd64"}]
# An array of dictionaries containing the architectures you wish to
# mirror.
components: ["main", "restricted", "universe", "multiverse"]
# An array of components you wish to mirror, such as `main' or
# `non-free'.