Skip to content

Instantly share code, notes, and snippets.

@AndreiCherniaev
Last active June 30, 2025 05:40
Show Gist options
  • Save AndreiCherniaev/6583861e6ed7fa3c1750a186f0998fe1 to your computer and use it in GitHub Desktop.
Save AndreiCherniaev/6583861e6ed7fa3c1750a186f0998fe1 to your computer and use it in GitHub Desktop.
Ubuntu autoinstall configuration
#cloud-config
interactive-sections:
- identity
autoinstall:
interactive-sections:
- identity
apt:
disable_components: []
geoip: true
preserve_sources_list: false
primary:
- arches:
- amd64
uri: http://us.archive.ubuntu.com/ubuntu
- arches:
- default
uri: http://ports.ubuntu.com/ubuntu-ports
drivers:
install: false
identity:
hostname: hostname
password: password
username: username
kernel:
package: linux-generic
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
ssh:
allow-pw: true
authorized-keys: []
install-server: true
updates: security
version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment