Merge lp:~cristiklein/vmbuilder/lp468809 into lp:vmbuilder
Status: | Needs review |
---|---|
Proposed branch: | lp:~cristiklein/vmbuilder/lp468809 |
Merge into: | lp:vmbuilder |
Diff against target: |
43 lines (+15/-0) 2 files modified
VMBuilder/plugins/ubuntu/dapper.py (+8/-0) VMBuilder/plugins/ubuntu/distro.py (+7/-0) |
To merge this branch: | bzr merge lp:~cristiklein/vmbuilder/lp468809 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Serge Hallyn | Pending | ||
Review via email: mp+186716@code.launchpad.net |
Description of the change
A popular request is to allow ubuntu-vm-builder to add packages from a 3rd-party repository (not a PPA). For example, one might want to install Cassandra in an Ubuntu Saucy VM. Previously, this was only possible using the "--firstboot" option and a carefully-written script.
This branch enables support for adding 3rd party repositories from a file. More precisely, it adds the "--addsourcefile" option which tells ubuntu-vm-builder to copy a certain file to the VM's /etc/apt/
For example, assuming one already has Cassandra's repository on the current system, a Cassandra-ready VM can be created as follows:
sudo ./ubuntu-vm-builder kvm saucy --addsourcefile /etc/apt/
Unmerged revisions
- 489. By Cristian Klein
-
Added option to include additional files in /etc/apt/
sources. list.d/ . (LP: #468809)