apt_sources_list option does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description of problem:
Use "apt_sources_list" to specify a custom sources list when build images, but
it does not work, the sources list is not replaced by my sources list.
Steps to Reproduce:
1. prepare a sources list file "sources.list"
/root/workspace
2. edit koll-build.conf file like this:
[DEFAULT]
apt_sources_list = /root/workspace
...
3. build an image like openstack-base
# kolla-build --config-file kolla-build.conf -t source -b ubuntu openstack-base
Actual results:
As description
Expected results:
The sources list in image should be replaced by the custom file.
Additional info:
Check the docker directory under the kolla workdir, kolla copy the custom sources file
to base's docker directory named "sources.list", but in the dockerfile, it will only
"COPY" the sources file end with "distro".
Changed in kolla: | |
assignee: | nobody → Cheney Dong (cheneydc) |
summary: |
- apt_sources_list parameter does not work + apt_sources_list option does not work |
Changed in kolla: | |
status: | New → In Progress |
Changed in kolla: | |
assignee: | Cheney Dong (cheneydc) → nobody |
Hi, is this bug still present?. Will mark as incomplete, will expire in 60 days if no other info is provided