Multiple --mirror parameters may be required

Bug #337083 reported by Matthew_A
2
Affects Status Importance Assigned to Milestone
VMBuilder
Won't Fix
Undecided
Unassigned

Bug Description

Additional --mirror parameters may be required for the following use case:

1. --mIrror[0] for image creation/installation
2. --mIrror[1] for custom application appliance packages

For example,

My deployment currently has:
--mirror "http://ubuntu.company.com/ubuntu/" \
--components main,multiverse,restricted,universe \

But I need the ability to also "apt-get install custom_application" (--addpkg custom_application). However, 'custom_application' is only available via a separate repository:

--mirror "http://ubuntu.company.com/companyname/" \
--components official \

At the moment there is no way to do to this.

Revision history for this message
Eric Hammond (esh) wrote :

vmbuilder has a "--exec SCRIPT" option which can be used to make changes to the image being built. You could pass it a simple script which appends the additional repositories to $1/apt/sources.list

Revision history for this message
Soren Hansen (soren) wrote :

Multiple mirrors is exceptional. I would advise you to change the sources.list locally template according to your needs. You can find it in /etc/vmbuilder/ubuntu/sources.list.tmpl. Optionally, you can create ~/.vmbuilder/ubuntu/ and put it there, so that it only affects a single user.

Changed in vmbuilder:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.