Public bug reported:

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.

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Support adding custom debs
https://bugs.launchpad.net/bugs/468809
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to