From 936ec7775055464afd79c43ef381d98fdaa01e7f Mon Sep 17 00:00:00 2001 From: Thomas Florence Date: Sat, 8 Nov 2025 23:10:07 +0000 Subject: [PATCH] Upload files to "demo" --- demo/autoinstall.yaml | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 demo/autoinstall.yaml diff --git a/demo/autoinstall.yaml b/demo/autoinstall.yaml new file mode 100644 index 0000000..df43dd5 --- /dev/null +++ b/demo/autoinstall.yaml @@ -0,0 +1,53 @@ +#cloud-config +autoinstall: + version: 1 + source: + search_drivers: true + id: ubuntu-server + # network + network: + version: 2 + ethernets: + enp0: + dhcp4: true + # Identity + + identity: + realname: 'Ubuntu User' + username: ubuntu + password: '$y$j9T$a70xDStNgUyEML/GQXb0y1$c3UyY.eRiyHP0o/X775AfCc0DnI5flZCtbjKk3M0Rg9' + hostname: ubuntu-server + + #active-directory: + # Join the Active Directory domain as user "$ubuntu" + #admin-name: $ubuntu + #domain-name: ad.ubuntu.com + # default behavior + locale: "en_GB.UTF-8" + + # Configure explicitly + timezone: "Europe/London" + updates: security + # default behavior + keyboard: + layout: uk + variant: "" + toggle: null + storage: + layout: + name: lvm + size-policy: all + # configuration for password access + ssh: + install-server: true + authorized-keys: [] + allow-pw: true + # late commands + late-commands: + - curtin in-target -- apt-get update + + # Reboot after installation + error-commands: + - tar -czf /installer-logs.tar.gz /var/log/installer/ + - journalctl -b > /installer-journal.log + shutdown: reboot \ No newline at end of file