Debian 7 app (download or diy)

Hi, I looking for Debian 7 app, but in the marketplace don’t exist.

I try to create my own image with one-context-4.2.1, I add to oneimage, create the template, but I get this when boot a new vm:

Any idea how to fix that?, I search about but without luck.


Hi @dubcl ,

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.

Best regards,
Vlastimil Holer

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

If you can, please provide the image.


Uff, to late to download you image XD, but anyway…

The one-context-4.2.1 is the correct context package for debian 7?

Hi, where do you take such historic version from? Please use the latest stable version 5.4.1 here:

today I create a fresh debian7 install

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?



OK, I check the image again and the one-context package fail on install

Me again :grin:

I solve the one-context instalation,

Debian 7 need all repositories and additionally the backport repo

deb wheezy main contrib non-free
deb 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 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 wheezy main non-free contrib
deb-src wheezy main non-free contrib
deb wheezy-backports main
deb wheezy/updates main contrib non-free
deb-src wheezy/updates main contrib non-free
  • upgrade you new system

apt-get -y update
apt-get -y upgrade

  • install one-context

wget --no-check-certificates -O /tmp/oc.deb

dpkg -i /tmp/oc.deb
rm -f /tmp/oc.deb

  • resolve dependencies

apt-get -fy install

  • install cloud-initramfs-growroot

apt-get install cloud-initramfs-growroot

  • Clean the apt cache

apt-get clean

  • shutdown the vm

shutdown -h now

  • reduce the disc size

qemu-img convert -O qcow2 -c foo.qcow2 bar.qcow2

  • copy to datastore server

scp bar.qcow2 oneadmin@server:/var/tmp

  • import the vm qcow2 disc as image

oneimage create --name "Debian 7" --path /var/tmp/bar.qcow2 --driver qcow2 --type OS --prefix vd --datastore default

I do this by command line because sunstone can’t upload the image, why? I don’t know and don’t matter me XD

  • create the template using the new image

I make this from sunstone

  • ???

  • enjoy your new instance


Follow the monologue XD here is my final image if you need