With the patched version, there is no leak about the destination but only mirror.archive.ubuntu.com was used for GET requests.
$ sudo octavia-diskimage-retrofit -d \ -m 'deb http://mirror.archive.ubuntu.com/ubuntu jammy main universe\ndeb http://mirror.archive.ubuntu.com/ubuntu jammy-security main universe\ndeb http://mirror.archive.ubuntu.com/ubuntu jammy-updates main universe' \ jammy-server-cloudimg-amd64.img \ ubuntu-amphora-haproxy-amd64.qcow2 \ |& tee octavia-diskimage-retrofit_patched.log
$ egrep -o '[a-z.]+\.ubuntu\.com' octavia-diskimage-retrofit_patched.log | sort | uniq -c 12 archive.ubuntu.com 239 mirror.archive.ubuntu.com 6 security.ubuntu.com
archive.ubuntu.com and security.ubuntu.com are just about the existing cache in the original cloud image to be converted as:
> /sysroot/subroot/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jammy-security_main_i18n_Translation-en
With the patched version, there is no leak about the destination but only mirror. archive. ubuntu. com was used for GET requests.
$ sudo octavia- diskimage- retrofit -d \ mirror. archive. ubuntu. com/ubuntu jammy main universe\ndeb http:// mirror. archive. ubuntu. com/ubuntu jammy-security main universe\ndeb http:// mirror. archive. ubuntu. com/ubuntu jammy-updates main universe' \ server- cloudimg- amd64.img \ amphora- haproxy- amd64.qcow2 \ diskimage- retrofit_ patched. log
-m 'deb http://
jammy-
ubuntu-
|& tee octavia-
$ egrep -o '[a-z.] +\.ubuntu\ .com' octavia- diskimage- retrofit_ patched. log | sort | uniq -c archive. ubuntu. com
12 archive.ubuntu.com
239 mirror.
6 security.ubuntu.com
archive.ubuntu.com and security.ubuntu.com are just about the existing cache in the original cloud image to be converted as:
> /sysroot/ subroot/ var/lib/ apt/lists/ security. ubuntu. com_ubuntu_ dists_jammy- security_ main_i18n_ Translation- en