Parametrized sources download options for ubuntu.
We do not want to mirror all source packages to aptly, but just in
case it is required - there is a parameter for it.
Change-Id: Ib48c4539aa5f2720633a4ee1c6f1982fe2511661
diff --git a/aptly/server/mirror/ubuntu/xenial/ubuntu.yml b/aptly/server/mirror/ubuntu/xenial/ubuntu.yml
index 4675063..6b41aee 100644
--- a/aptly/server/mirror/ubuntu/xenial/ubuntu.yml
+++ b/aptly/server/mirror/ubuntu/xenial/ubuntu.yml
@@ -2,12 +2,13 @@
_param:
linux_system_country_code_default: cz
linux_system_country_code: ${_param:linux_system_country_code_default}
+ aptly_server_mirror_ubuntu_xenial_sources: ${_param:aptly_server_mirror_ubuntu_sources}
aptly:
server:
mirror:
# xenial
xenial-main:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial
components: main
@@ -21,7 +22,7 @@
distributions:
- ubuntu/xenial
xenial-multiverse:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial
components: multiverse
@@ -35,7 +36,7 @@
distributions:
- ubuntu/xenial
xenial-restricted:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial
components: restricted
@@ -49,7 +50,7 @@
distributions:
- ubuntu/xenial
xenial-universe:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial
components: universe
@@ -65,7 +66,7 @@
# xenial-updates
xenial-updates-main:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-updates
components: main
@@ -79,7 +80,7 @@
distributions:
- ubuntu/xenial-updates
xenial-updates-multiverse:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-updates
components: multiverse
@@ -93,7 +94,7 @@
distributions:
- ubuntu/xenial-updates
xenial-updates-restricted:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-updates
components: restricted
@@ -107,7 +108,7 @@
distributions:
- ubuntu/xenial-updates
xenial-updates-universe:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-updates
components: universe
@@ -123,7 +124,7 @@
#xenial-security:
xenial-security-main:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-security
components: main
@@ -137,7 +138,7 @@
distributions:
- ubuntu/xenial-security
xenial-security-multiverse:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-security
components: multiverse
@@ -151,7 +152,7 @@
distributions:
- ubuntu/xenial-security
xenial-security-restricted:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-security
components: restricted
@@ -165,7 +166,7 @@
distributions:
- ubuntu/xenial-security
xenial-security-universe:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-security
components: universe
@@ -181,7 +182,7 @@
#xenial-proposed:
xenial-proposed-main:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-proposed
components: main
@@ -195,7 +196,7 @@
distributions:
- ubuntu/xenial-proposed
xenial-proposed-multiverse:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-proposed
components: multiverse
@@ -263,7 +264,7 @@
distributions:
- ubuntu/xenial-backports
xenial-backports-restricted:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-backports
components: restricted
@@ -277,7 +278,7 @@
distributions:
- ubuntu/xenial-backports
xenial-backports-universe:
- sources: true
+ sources: ${_param:aptly_server_mirror_ubuntu_xenial_sources}
source: http://${_param:linux_system_country_code}.archive.ubuntu.com/ubuntu/
distribution: xenial-backports
components: universe