Workaround: download ubuntu 12.04.3 iso, mount it and create image from iso:
wget http://releases.ubuntu.com/12.04.3/ubuntu-12.04.3-server-amd64.iso
mount ubuntu-12.04.3-server-amd64.iso /mnt/
you have to fix /usr/lib/xen-tools/karmic.d/20-setup-apt because it tries to recieve updates from given mirror:
53,56c53,56 < deb ${mirror} ${dist} main restricted universe multiverse < deb-src ${mirror} ${dist} main restricted universe < deb ${mirror} ${dist}-updates main restricted universe multiverse < deb-src ${mirror} ${dist}-updates main restricted universe --- > deb http://de.archive.ubuntu.com/ubuntu/ ${dist} main restricted universe multiverse > deb-src http://de.archive.ubuntu.com/ubuntu/ ${dist} main restricted universe > deb http://de.archive.ubuntu.com/ubuntu/ ${dist}-updates main restricted universe multiverse > deb-src http://de.archive.ubuntu.com/ubuntu/ ${dist}-updates main restricted universe
xen-create-image [....] --mirror file:/mnt
Workaround: download ubuntu 12.04.3 iso, mount it and create image from iso:
wget http:// releases. ubuntu. com/12. 04.3/ubuntu- 12.04.3- server- amd64.iso
mount ubuntu- 12.04.3- server- amd64.iso /mnt/
you have to fix /usr/lib/ xen-tools/ karmic. d/20-setup- apt because it tries to recieve updates from given mirror:
53,56c53,56 de.archive. ubuntu. com/ubuntu/ ${dist} main restricted universe multiverse de.archive. ubuntu. com/ubuntu/ ${dist} main restricted universe de.archive. ubuntu. com/ubuntu/ ${dist}-updates main restricted universe multiverse de.archive. ubuntu. com/ubuntu/ ${dist}-updates main restricted universe
< deb ${mirror} ${dist} main restricted universe multiverse
< deb-src ${mirror} ${dist} main restricted universe
< deb ${mirror} ${dist}-updates main restricted universe multiverse
< deb-src ${mirror} ${dist}-updates main restricted universe
---
> deb http://
> deb-src http://
> deb http://
> deb-src http://
xen-create-image [....] --mirror file:/mnt