Support adding custom debs from a local apt repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Currently, I see no way for adding custom DEB-packages to a VM when building it with ubuntu-vm-builder. I thought of two workarounds for this problem:
- use apt-proxy to create a local mirror first, include the packages there (which involves creating an own package site since only ftp, http and rsync are supported) and pass --mirror to ubuntu-vm-builder
- mount the VM archive afterwards (using i.e. vmware-mount.pl), chroot into it and makes the changes within the image. Apart from the annoying scripting work, you have to make sure the packages are removed from apt's cache after installation. Even if you do so it, results in a larger image size, so you would need to shrink the resulting image again.
Both workarounds are not satisfying, therefore I wish ubuntu-vm-builder would support a "--add-dpkg" option as well.
Changed in vm-builder (Ubuntu): | |
status: | Incomplete → Confirmed |
It already does this:
--addpkg=PKG Install PKG into the guest (can be specfied multiple
times) .
Regards
chuck