offline server install

Asked by lohith

Hi,

I have a custom ISO built using cubic and all the necessary packages are added present in the pool folder and dists folder for ubuntu to access and install them. Problem is that, ubuntu by default is talking to archive.ubuntu.com to download packages, instead I want ubuntu to look at the local cdrom to get the same packages as i have added all those packages inside them.

In the installer screen of ubuntu, it asks for mirror, the mirror should always be an http:// or https:// url. I cant add file:/// so that I can point ubuntu to look at local file system. How can I make ubuntu 20.04 server install to check the local repo rather than connecting to internet.

Basically right now, if there is no internet connection, the ubuntu 20.04 installation fails.

Question information

Language:
English Edit question
Status:
Answered
For:
Cubic Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Cubic PPA (cubic-wizard) said :
#1

I read somewhere that the security updates step can not be skipped in the 20.04 server install.

I can't find the link, but I remember someone on a forum suggested to configure cloud-init to:
1. Disable networking before the install begins
2. Enable networking networking after the install completes

I don't know how to configure this, but hopefully this gives you a possible approach you can research further.

Also, see this Question: https://answers.launchpad.net/cubic/+question/698512

Can you help with this problem?

Provide an answer of your own, or ask lohith for more information if necessary.

To post a message you must log in.