This is a script for building a new installer for Ubuntu using its "autoinstall" technique. The example in this repository will:
- Creates a "paul" user with an SSH
authorized_keys
file and a known good environment. - Builds an LVM configuration with a single data partition.
When using the installer there are still several questions that you must answer. These include:
- If there are multiple active interfaces you must choose one.
- What network configuration to use for this new host.
- Which disk to use for the installation. WARNING! This disk will be erased.
Otherwise this will create an entirely automated installation.
You can run this on any Unix-based system like Linux or macOS. Follow these steps:
- Download a server installer image from the Ubuntu website. This process will work with both amd64 and arm64 images.
- Clone this repository.
- Install these libraries:
apt-get install -y --no-install-recommends xorriso
- Or install these libraries:
brew install xorriso
- Run the build script:
./build /path/to/ubuntu-24.04.2-live-server-arm64.iso /path/to/ubuntu-24.04-autoinstall-arm64.iso
- Use the new ISO file to build your host.
Use this ISO just like you would any other install ISO. An autoinstall configured ISO file can build baremetal systems or virtual machines. It is only useful for on-premise instances and is not useful for cloud instances.