To configure Ubuntu systems to update from mirrors.iu13.net, you need to add mirrors.iu13.net to your apt sources list.
To add mirrors.iu13.net to your sources, just download our sources.list file (inspect the contents here first!)
sudo curl -o /etc/apt/sources.list.d/mirrors.iu13.net.sources https://mirrors.iu13.net/html/ubuntu-noble/mirrors.iu13.net.sources
If you need to undo the changes, execute this command:
sudo rm /etc/apt/sources.list.d/mirrors.iu13.net.sources
The script provided below automatically backs up your current apt sources list and adds entries for mirrors.iu13.net. It does not remove your current sources.
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak ; echo "$(cat /etc/apt/sources.list.bak | sed -n 's/http.*archive.ubuntu.com/https\:\/\/mirrors.iu13.net/p' | cat - /etc/apt/sources.list.bak)" | awk '!seen[$0]++' | sudo tee /etc/apt/sources.list
If you need to undo the changes, execute this command:
sudo cp /etc/apt/sources.list.bak /etc/apt/sources.list
If you just want to download the latest Ubuntu ISO, see ubuntu-releases instead.