Hello,<br><br>I think there is a bug with the new option --apt_proxy :<br><br>OS: Debian GNU/Linux 7.1 (wheezy)<br>xen-tools version: 4.3.1-1<br>xen-tools paquage: xen-tools_4.3.1-1_all.deb<br><br>I'm currently trying to use apt-cacher-ng during DomU images creation.<br>
(apt-cacher is correctly running and working on my dom0)<br><br>The actual manpage of debian wheezy say:<br>"--apt_proxy=url  Specify a proxy to be used by debootstrap, and within  the guest."<br><br>So i launch this command:<br>
xen-create-image --apt_proxy=<a href="http://88.191.190.70:3142">88.191.190.70:3142</a> --hostname=test2 --size=2048Mb \<br>--memory=128Mb --swap=32Mb --ip=192.168.254.98 --role=udev<br><br>This command end with an error message as follow:<br>
Role: udev<br>        File: /etc/xen-tools/role.d/udev<br>Running command '/etc/xen-tools/role.d/udev /tmp/wqPhE_y4Ll 2>&1' failed with exit code 25600.<br>Aborting<br>See /var/log/xen-tools/test2.log for details<br>
<br><br>And near the end of the logfile, these errors:<br>W: Failed to fetch <a href="http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-amd64/Packages">http://ftp.fr.debian.org/debian/dists/wheezy/main/binary-amd64/Packages</a>  Cannot initiate the connection to 3142:80 (0.0.12.70). - connect (22: Invalid argument)<br>
<br>It's trying to connect to 3142:80, it's not the good mirror nor the good proxy.<br>I think it should connect to <a href="http://88.191.190.70:3142">88.191.190.70:3142</a> instead of 3142:80 ?<br>I don't know if it's related to this bug (already closed) <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560011">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560011</a><br>
<br>It's a testing server, so i can reinstall/test/patch if needed, and of course give file conf of my installation if needed.<br><br>Regards, Kevin.<br><br>