Skip to content

Instantly share code, notes, and snippets.

@AndreiCherniaev
Last active September 3, 2025 04:27
Show Gist options
  • Save AndreiCherniaev/f29d024b7c2bbbd59f39e2b66dfc2a04 to your computer and use it in GitHub Desktop.
Save AndreiCherniaev/f29d024b7c2bbbd59f39e2b66dfc2a04 to your computer and use it in GitHub Desktop.
YAML configuration files for Ubuntu installer
identity:
hostname: ubuntu-desktop
password: '$6$TThZwH2sYnfxdzIN$COsmkwowJBH.pYW/jpfhzcBsxSQ6.lrEygIGUQLDrJBsTBgT1gLnkspvttBmgKIJl6UGGSOv4cDfV4Hj0BqS9/'
# There is password hash, use `mkpasswd --method=SHA-512`
realname: q
username: q
interactive-sections:
- storage
apt:
preserve_sources_list: false
mirror-selection:
primary:
- country-mirror
- arches: [amd64]
uri: "http://ko.archive.ubuntu.com/ubuntu"
fallback: abort
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
refresh-installer:
update: true
channel: stable/ubuntu-25.04
source:
id: ubuntu-desktop-minimal
search_drivers: false
codecs:
install: false
drivers:
install: false
packages:
- tmux
storage:
layout:
name: direct
match:
size: largest
ssh:
allow-pw: true
authorized-keys: []
install-server: false
timezone: America/New_York
updates: all
late-commands:
- echo "alias upd='sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update && sudo apt upgrade -y && sudo apt autoremove -y'" >> "$HOME/.bash_aliases"
- echo "alias t='sudo apt-get -o Acquire::Check-Valid-Until=false -o Acquire::Check-Date=false update && sudo apt autoremove -y'" >> "$HOME/.bash_aliases"
version: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment