looks like you have some obsolete files in the /etc/one-context.d/ from the packager (.dpk-new). Current stable package has wrongly marked /etc/one-context.d/ files as configuration, that’s why the packager creates a backup or doesn’t overwrite changes. It’s already fixed for development packages and future stable packages will behave.
So, if you are upgrading existing image, please ensure you first remove the old one-context package and purge the leftover files before installing new package. E. g.:
apt-get purge one-context
Just in case you need D7 for some quick testing, nothing serious, I’m providing my private contextualized D7 image built very quickly and without any guarantees. Link will be active till 3rd December, unxz before importing in the OpenNebula.
there is another problem, I do clean istall od debian 7 today and went to same error as dubcl. I try to rename dpkg-new files to without that extension, but same errors. also there is problem with growpart
the instance boot correctly but the image don’t load any context parameter. after install the context package I need configure any other thing in the new os?
Debian 7 need all repositories and additionally the backport repo
deb http://cdn.debian.net/debian/ wheezy main contrib non-free
deb http://ftp.debian.org/debian wheezy-backports main
That resolve all one-context dependencies.
Now the image boot and assign the correct IP, add ssh key, buuuuuuuuut the resize fs wont work, the syslog show this https://pastebin.com/i1swDML9 any idea?
Problem resolve, we need the package “cloud-initramfs-growroot” to allow resize \o/
Then, the complete steps are:
create qcow2 image
qemu-img create -f qcow2 foo.qcow2 2G
boot whit the new disc install basic OS
in my case, I download debian 7.11 iso
verify the repositories
deb http://cdn.debian.net/debian/ wheezy main non-free contrib
deb-src http://cdn.debian.net/debian/ wheezy main non-free contrib
deb http://ftp.debian.org/debian wheezy-backports main
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free