https://github.com/paullockaby/ubuntu-autoinstall
Autoinstaller configuration for Ubuntu.
https://github.com/paullockaby/ubuntu-autoinstall
ubuntu
Last synced: 4 months ago
JSON representation
Autoinstaller configuration for Ubuntu.
- Host: GitHub
- URL: https://github.com/paullockaby/ubuntu-autoinstall
- Owner: paullockaby
- Created: 2025-06-15T06:56:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-12-26T23:42:16.000Z (6 months ago)
- Last Synced: 2025-12-28T14:12:14.418Z (6 months ago)
- Topics: ubuntu
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ubuntu "autoinstall" System Installer
> [!TIP]
> If you want to bootstrap Debian systems, you can look at [my Debian preseed setup repository](https://github.com/paullockaby/debian-preseed).
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.
# How To Use This Script
You can run this on any Unix-based system like Linux or macOS. Follow these steps:
1. [Download a server installer image from the Ubuntu website](https://ubuntu.com/download/server). This process will work with both amd64 and arm64 images.
2. Clone this repository.
3. Install these libraries: `apt-get install -y --no-install-recommends xorriso`
4. Or install these libraries: `brew install xorriso`
5. Run the build script: `./build /path/to/ubuntu-24.04.2-live-server-arm64.iso /path/to/ubuntu-24.04-autoinstall-arm64.iso`
6. Use the new ISO file to build your host.
# Using the autoinstall ISO
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.