canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
538 stars 94 forks source link

Installer should transfer HTTP network proxy properties from live system to installed system for APT #693

Open N0rbert opened 2 years ago

N0rbert commented 2 years ago

In previous installer named Ubiquity the following functionality existed for years:

  1. User boots the LiveCD system in Try Ubuntu mode

  2. User sets http_proxy using gnome-control-center network (in case of Ubuntu) as shown below

    proxy

  3. User launches installer and waits it to complete, checks proxy setting on /target fs:

    $ grep -r 222 /target/etc/apt/
    /target/etc/apt/apt.conf:Acquire::http::Proxy "http://192.168.3.222:8000/";
  4. User login into just installed fresh system and sees the proxy defined in the corresponded configuration file of APT

    $ grep -r 222 /etc/apt/
    /etc/apt/apt.conf:Acquire::http::Proxy "http://192.168.3.222:8000/";

New modern misses this very useful feature. Please implement it.

oSoMoN commented 2 years ago

Relevant code in ubiquity:

subiquity does have a proxy endpoint, which seems to be used to configure apt, so maybe it's simply a matter of setting it from u-d-i ?