diff options
author | Ross Brattain <ross.b.brattain@intel.com> | 2017-12-22 11:42:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-22 11:42:27 +0000 |
commit | edb1b87fae318501b853ef02a7aa7dffddfe1e48 (patch) | |
tree | fefafa804e91d824c6a4b62b4f6d8c436a6e5ac2 /ansible/roles/add_custom_repos/templates | |
parent | d93f0b4e79bcf822dfb264a82e879f45038628d1 (diff) | |
parent | c241da7a6d6218320a162efd714ddc4b1e064341 (diff) |
Merge changes from topics 'YARDSTICK-875', 'YARDSTICK-874'
* changes:
Check if multiverse repository is available in Ubuntu
Specify supported architectures for Ubuntu backports repository
Diffstat (limited to 'ansible/roles/add_custom_repos/templates')
-rw-r--r-- | ansible/roles/add_custom_repos/templates/sources.list.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/add_custom_repos/templates/sources.list.j2 b/ansible/roles/add_custom_repos/templates/sources.list.j2 index af741cb10..61fbe43aa 100644 --- a/ansible/roles/add_custom_repos/templates/sources.list.j2 +++ b/ansible/roles/add_custom_repos/templates/sources.list.j2 @@ -1,5 +1,8 @@ {% if YARD_IMG_ARCH == "arm64" %} deb [arch={{ YARD_IMG_ARCH }}] http://ports.ubuntu.com/ {{ release }}-backports main restricted universe multiverse {% else %} -deb http://archive.ubuntu.com/ubuntu/ {{ release }}-backports main restricted universe multiverse +deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ {{ release }}-backports main restricted universe multiverse + {% if multiverse_repos.rc != 0 %} +deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ {{ release }} multiverse + {% endif %} {% endif %} |