Files
auricom-home-cluster/server/pxe/nodes/k3s-worker2/user-data
2021-04-18 03:22:42 +02:00

90 lines
2.3 KiB
Plaintext

#cloud-config
autoinstall:
version: 1
refresh-installer:
update: true
apt:
geoip: true
preserve_sources_list: false
primary:
- arches: [amd64, i386]
uri: http://archive.ubuntu.com/ubuntu
- arches: [default]
uri: http://ports.ubuntu.com/ubuntu-ports
identity:
hostname: k3s-worker2
# mkpasswd --method=SHA-512 ubuntu
# python3 -c 'import crypt; print(crypt.crypt("ubuntu", crypt.mksalt(crypt.METHOD_SHA512)))'
password: $6$UKxMOUUjgoIasmuo$dgSyUpYzokiWNV7wZASBVfRXVrTQT5xmtxItqdQxfi86MI8Th/63iAcFLR97JAQXdBi0nV.pmZR.8uryF1SfG1
realname: Ubuntu
username: ubuntu
keyboard:
layout: fr
toggle: null
variant: ""
locale: en_US.UTF-8
network:
version: 2
ethernets:
eno1:
dhcp4: true
critical: true
dhcp-identifier: mac
ssh:
allow-pw: false
install-server: true
authorized-keys:
# claude-fixe-fedora
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINo7E0oAOzaq0XvUHkWvZSC8u1XxX8dDCq3bSyK2BCen claude@claude-fixe-fedora"
# claude-thinkpad-fedora
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL+GMHgvbtf6f7xUMAQR+vZFfD/mIIfIDNX5iP8tDRXZ claude@claude-thinkpad-fedora"
storage:
grub:
reorder_uefi: false
swap:
size: 0
config:
- id: root-disk-0
type: disk
path: /dev/sda
wipe: superblock-recursive
preserve: false
grub_device: false
name: ""
ptable: gpt
- id: root-partition-0
type: partition
device: root-disk-0
size: 512M
wipe: superblock
flag: boot
number: 1
preserve: false
grub_device: true
- id: root-format-0
type: format
fstype: fat32
volume: root-partition-0
preserve: false
- id: root-partition-1
type: partition
device: root-disk-0
size: -1
wipe: superblock
flag: ""
number: 2
preserve: false
- id: root-format-1
type: format
fstype: ext4
volume: root-partition-1
preserve: false
- id: root-mount-0
type: mount
device: root-format-0
path: /boot/efi
- id: root-mount-1
type: mount
device: root-format-1
path: /