added preseed files for apollo and artemis (the new N100 NUCs). need to checkin the configs to test them out
This commit is contained in:
parent
1d73cb80a2
commit
c4835c7388
@ -1,5 +1,7 @@
|
|||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
BUILD_ROOT=~/build
|
|
||||||
|
|
||||||
|
BUILD_ROOT=~/infra/build
|
||||||
PROJECT_ROOT=~/infra
|
PROJECT_ROOT=~/infra
|
||||||
USER=virgil
|
USER=virgil
|
||||||
|
|
||||||
|
|||||||
66
ubuntu/user-data.apollo.yaml
Normal file
66
ubuntu/user-data.apollo.yaml
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
#cloud-config
|
||||||
|
autoinstall:
|
||||||
|
version: 1
|
||||||
|
# reference link to use https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html
|
||||||
|
locale: en_US.UTF-8
|
||||||
|
source:
|
||||||
|
id: ubuntu-server-minimal
|
||||||
|
refresh-installer:
|
||||||
|
update: true
|
||||||
|
identity:
|
||||||
|
hostname: apollo
|
||||||
|
password: $5$8xH/luS/5i$EjrWRLUA4WbnGs.Vd/LQU6K7Pf7dIMOTpQ3ovPtCnSA
|
||||||
|
username: virgil
|
||||||
|
packages:
|
||||||
|
- rsync
|
||||||
|
- ca-certificates
|
||||||
|
- curl
|
||||||
|
- neovim
|
||||||
|
- fail2ban
|
||||||
|
- net-tools
|
||||||
|
- apt-transport-https
|
||||||
|
- htop
|
||||||
|
storage:
|
||||||
|
layout:
|
||||||
|
name: lvm
|
||||||
|
match:
|
||||||
|
size: smallest
|
||||||
|
sizing-policy: scaled
|
||||||
|
config:
|
||||||
|
- type: partition
|
||||||
|
id: boot-partition
|
||||||
|
device: root-disk
|
||||||
|
size: 1G
|
||||||
|
- type: partition
|
||||||
|
id: root-partition
|
||||||
|
size: 25G
|
||||||
|
storage:
|
||||||
|
layout:
|
||||||
|
name: lvm
|
||||||
|
match:
|
||||||
|
size: largest
|
||||||
|
config:
|
||||||
|
- type: partition
|
||||||
|
id: data-partition
|
||||||
|
size: 256G
|
||||||
|
# network:
|
||||||
|
version: 2
|
||||||
|
renderer: networkd
|
||||||
|
ethernets:
|
||||||
|
# docking station adapter
|
||||||
|
# enx00e04c937c49:
|
||||||
|
addresses:
|
||||||
|
- 10.1.1.3/16
|
||||||
|
routes:
|
||||||
|
- to: default
|
||||||
|
via: 10.1.70.1
|
||||||
|
metric: 100
|
||||||
|
on-link: true
|
||||||
|
nameservers:
|
||||||
|
addresses: [10.1.70.1]
|
||||||
|
ssh:
|
||||||
|
allow-pw: no
|
||||||
|
install-server: yes
|
||||||
|
authorized-keys:
|
||||||
|
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDgBk3q6TDTaFWoipBo8pDppCHlAHBdqXSDNWmy+zS5dm2VwmoTnT+46Sjurzb+nJOSCZ5wWkLUT+zPRq/Y83PGYseocJdXGZGHaDIudU+pnTShDcfY1e2xSapdPmYBgnoU6aOGb4JvlmLzLblBwSiwcSRrBFKvN/0Zz4JpkzNMRArqNZpIQtjAo5VG5RjudISJE57pqhy2f3YHcaqQlgRoP8i4syqSy0YZFIdnavyvszkQXXuoD9nxhkpamo87NgZiOWMSVEr7ilECFHbh2cYABaXaJvbpI9vkA1C8x1TDkSMAft6KvD36ezC2+YJPTpIYr8xlTZpfaGuyR2hOTkB9AkN3hm2aQFiz4Yh4xSYJjZJXfUOPDtGnwIvUFWXtXUAzDrFna/jJFNeXqbEGujcjyyAbZ695nwwXoIoH/sqqDZnXrl8qPvc82zG1hDWpnwpzUJQGFuYbRRWLO7aViwN5jZ6FDc4aw+XTzd2EfFL5YLK4/IZFDFMNdxD8+c1H5p/pajR/OV5jsMt24Yo6Y/j22OqrYzCZpeCAOEzBAFMwSTMEDUdhOilHxUNCrH3axCL39GMLDlY36LTjEht/TA/Bw2pHl5rkFUIhWnyerW5PFdrnromknal/jTqJLbzTuAVxwTefHIsrYd8Q+fc9SSlqUElSajpyvbMzNjdLrSv7Q== dtookey@Davids-MacBook-Air.local
|
||||||
|
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDIwFFhCGt8gnqSCCAZc39DFcopQ2MhFSc7UDyvIpnCYgwVQP4phAV2qhQL3cNYQi5ihGtZuvJ08VH+WVat/9xL58+T7/cHt8Zy2xuPKzObeDVWX++K9P+/rzPVc3IcHIEaEfxN6f0Yk6HncQM9I/ku/At8NHk/zHyPKTXHOR1g0sMXGkLgSRD8phbSajyhD4pdtcQQJU3gePwEcwd7u+5L++Q5wGjVm9pa3ZvkhI4JpGYPAnXDae4NRe9HgqIW0icKWrxn/Ir5yECIe5iZJvmFCpE9MmaxFQJbkFUZLY41V0kwnRIu99agE8ktoCwN3Ow6P7KYgvJkzZuk34zXaNncL4QglMJd5FbIEt2w1ojdbFRHJD3JwNTMOW+5kBl77uj06VU4tjIbVEt6eHp47jQpvOzcNM5UFmeDCayM4eJV1dsT35EQu1yYNEMEMRuME4TkL0vLy/q6+0xCvC83vqp7eHuzvulFCXyPmah6qOQw572cO6x7w5cvtws+xtWrA3k= dtookey@nyx
|
||||||
@ -28,16 +28,7 @@ autoinstall:
|
|||||||
size: 1G
|
size: 1G
|
||||||
- type: partition
|
- type: partition
|
||||||
id: root-partition
|
id: root-partition
|
||||||
size: 14G
|
size: 25G
|
||||||
storage:
|
|
||||||
layout:
|
|
||||||
name: lvm
|
|
||||||
match:
|
|
||||||
size: largest
|
|
||||||
config:
|
|
||||||
- type: partition
|
|
||||||
id: data-partition
|
|
||||||
size: 256G
|
|
||||||
#
|
#
|
||||||
late-commands:
|
late-commands:
|
||||||
- curtin in-target -- apt-get update
|
- curtin in-target -- apt-get update
|
||||||
@ -77,4 +68,4 @@ autoinstall:
|
|||||||
#
|
#
|
||||||
error-commands:
|
error-commands:
|
||||||
- tar -czf /installer-logs.tar.gz /var/log/installer/
|
- tar -czf /installer-logs.tar.gz /var/log/installer/
|
||||||
- journalctl -b > /installer-journal.log
|
- journalctl -b > /installer-journal.log
|
||||||
|
|||||||
@ -20,12 +20,33 @@ autoinstall:
|
|||||||
- net-tools
|
- net-tools
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- htop
|
- htop
|
||||||
network:
|
storage:
|
||||||
|
layout:
|
||||||
|
name: lvm
|
||||||
|
match:
|
||||||
|
size: smallest
|
||||||
|
sizing-policy: scaled
|
||||||
|
config:
|
||||||
|
- type: partition
|
||||||
|
id: boot-partition
|
||||||
|
device: root-disk
|
||||||
|
size: 1G
|
||||||
|
- type: partition
|
||||||
|
id: root-partition
|
||||||
|
size: 25G
|
||||||
|
storage:
|
||||||
|
layout:
|
||||||
|
name: lvm
|
||||||
|
match:
|
||||||
|
size: largest
|
||||||
|
config:
|
||||||
|
- type: partition
|
||||||
|
id: data-partition
|
||||||
|
size: 256G
|
||||||
|
# network:
|
||||||
version: 2
|
version: 2
|
||||||
renderer: networkd
|
renderer: networkd
|
||||||
ethernets:
|
ethernets:
|
||||||
# inline usb adapter
|
|
||||||
enxc8a3623a3640:
|
|
||||||
# docking station adapter
|
# docking station adapter
|
||||||
# enx00e04c937c49:
|
# enx00e04c937c49:
|
||||||
addresses:
|
addresses:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user