Hi all,
I’m using ubuntu14.04, and i’m having ubuntu14.04 image with packagename-v1.
I want to update the image with new package packagename-v2.
How to do this?
Can i use tools like virt-customize?
Read this article http://opennebula.org/creating-customized-images/ really nice. But it is not working in ubuntu.
michaudg
(Gui||aume)
2
Hi thomasalrin,
Can you simply create a packagename-v1 based VM, update what you want and save it to a new image named packagename-v2?
You can use “Save As” in the Storage tab of the VM to do it.
1 Like
Hi @michaudg,
Thank you for your reply.
I know this, and i follow this for now. But i want to reduce the time.
I have an image,
- i need to upload it to opennebula,
- then i need to create a vm using that image,
- then i need to install packages,
- then i need to take snapshot,
- then i need to download the image.
I want to reduce this time.
Did you read this http://opennebula.org/creating-customized-images/ ?
It is so simple. I tried it(virt-customize) in ubuntu, and it has some issues, with its dependency packages.
Anybody solved my problem somewhere?
jfontan
(Javi Fontán)
4
For packages that have dependencies in Debian/Ubuntu you can use this method:
# dpkg -i package.deb
# apt-get install -f -y
The apt-get
command will install the dependencies of packages from repositories.
1 Like