Skip to content

Instantly share code, notes, and snippets.

@rafaelribeiroo
Created August 26, 2024 23:21
Show Gist options
  • Save rafaelribeiroo/7d26358b41d6a254aaec64d1cead3e6e to your computer and use it in GitHub Desktop.
Save rafaelribeiroo/7d26358b41d6a254aaec64d1cead3e6e to your computer and use it in GitHub Desktop.
#cloud-config
autoinstall:
version: 1
# interactive-sections:
# - network
locale: "en_US.UTF-8"
identity:
hostname: "Ubuntu-22"
username: "pereiraribeiro"
password: "123456"
keyboard: {layout: us, toggle: null, variant: ''}
storage:
layout:
name: lvm
# storage:
# swap:
# size: 0
# config:
# - type: disk
# id: disk0
# ptable: gpt
# path: /dev/vda
# wipe: superblock-recursive
# preserve: false
# grub_device: true
# - type: partition
# id: grub-partition
# device: disk0
# size: 512MB
# flag: bios_grub
# partition_type: EF02
# wipe: superblock
# preserve: false
# - type: partition
# id: disk0-part1
# device: disk0
# size: -1
# snaps:
# - name: spotify
# classic: false
packages:
- vim
late-commands:
- curtin in-target -- apt update
- curtin in-target -- apt upgrade
# - curtin in-target -- hostnamectl set-hostname "mint-21.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment