Skip to content

Instantly share code, notes, and snippets.

@rafaelribeiroo
Last active August 27, 2024 00:55
Show Gist options
  • Save rafaelribeiroo/3813d2259606199d298e99edee51d5c9 to your computer and use it in GitHub Desktop.
Save rafaelribeiroo/3813d2259606199d298e99edee51d5c9 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: 'pereira-ribeiro'
password: '$6$123456$..Jk9PGD0Iuy2g4GMWJzmPUhrJmBil5mDaT.wE09i5Zdm7HQbFafrzhODtnYlfc62ujypO/ITF8DY.D.N6mdN1'
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