d503870bfe
This modifies mini-mirror so that instead of parsing through .txt documents to build the mirror, it instead has one yaml file consisting of multiple yaml documents with a pre-defined structure that has all of the same information. This will allow for easier modification and visibility into the configuration of mini-mirror. Along with that, this enables the manual setting of CodeName and Label values of the mirror, as well as the ability to change the name of the image that the build.sh script creates Change-Id: I08646258492e8938b8892749172aea23e363af3d
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
---
|
|
name: aptly-example
|
|
url: http://repo.aptly.info/
|
|
key_url: https://www.aptly.info/pubkey.txt
|
|
components:
|
|
- main
|
|
subrepos:
|
|
- distribution: squeeze
|
|
packages:
|
|
- name: aptly
|
|
...
|
|
# Example additional config for adding docker
|
|
#---
|
|
#name: docker
|
|
#url: https://download.docker.com/linux/ubuntu
|
|
#key_url: https://download.docker.com/linux/ubuntu/gpg
|
|
#aptly_config: |
|
|
# {
|
|
# "rootDir": "/opt/.aptly",
|
|
# "downloadConcurrency": 20,
|
|
# "downloadSpeedLimit": 0,
|
|
# "architectures": ["amd64"],
|
|
# "dependencyFollowSuggests": false,
|
|
# "dependencyFollowRecommends": false,
|
|
# "dependencyFollowAllVariants": false,
|
|
# "dependencyFollowSource": false,
|
|
# "dependencyVerboseResolve": true,
|
|
# "gpgDisableSign": true,
|
|
# "gpgDisableVerify": true,
|
|
# "gpgProvider": "gpg",
|
|
# "downloadSourcePackages": false,
|
|
# "skipLegacyPool": true,
|
|
# "ppaDistributorID": "ubuntu",
|
|
# "ppaCodename": ""
|
|
# }
|
|
#components:
|
|
# - stable
|
|
#subrepos:
|
|
# - distribution: xenial
|
|
# packages:
|
|
# - name: docker-ce
|
|
# version: 17.03.3~ce-0~ubuntu-xenial_amd64
|
|
#...
|