Upload files to "demo"
This commit is contained in:
53
demo/autoinstall.yaml
Normal file
53
demo/autoinstall.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user