Updates to autoinstall config
This commit is contained in:
parent
1a2788ab29
commit
aecb97e68f
@ -6,6 +6,8 @@ Working on scripting to create a VM from a template.
|
|||||||
|
|
||||||
Note that the following steps are derived from this [guide](https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/)
|
Note that the following steps are derived from this [guide](https://www.pugetsystems.com/labs/hpc/ubuntu-22-04-server-autoinstall-iso/)
|
||||||
|
|
||||||
|
[Autoinstall configuration reference manual](https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html)
|
||||||
|
|
||||||
1. Install necessary packages
|
1. Install necessary packages
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
#cloud-config
|
|
||||||
hostname: vm-template-staging
|
|
||||||
network:
|
|
||||||
version: 2
|
|
||||||
ethernets:
|
|
||||||
enp1s0:
|
|
||||||
dhcp4: no
|
|
||||||
addresses:
|
|
||||||
- 100.40.223.190/24
|
|
||||||
gateway4: 100.40.223.1
|
|
||||||
nameservers:
|
|
||||||
addresses:
|
|
||||||
- 8.8.8.8
|
|
||||||
- 8.8.4.4
|
|
||||||
users:
|
|
||||||
- moeny
|
|
||||||
- name: moeny
|
|
||||||
ssh_authorized_keys:
|
|
||||||
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCRMJNdI/n/7xYN65zHFN8hlRSDg5OPJ12AwOsUyP8OmKCQTapoVQ/suvjaUTCtt8o28QNIQm1vAD03hFNzVJn6F6FJu9vUbR+YqlmzmzGJXB6sWWTEnc9/GsVvLoculuzFYfa2qU9xFbuUTtqFRu6qor82TPAhy/yVWzIvRxlfuxKLpdU9paKiV+WtCkSpVoBgIH6soBE1swMX4ILIOGeFTrmCdBac4K1Bs0OarKtShR6PHdNiqPlwpCeQQDZD8ops69yBMc0t6poFZC9FYSj7arJEWvZN9YtUr+PJiYZQc+gIG4enPW1Zf4FEkXXvH/t6RaYMq9w/P5lIUNOVe169
|
|
@ -31,12 +31,16 @@ autoinstall:
|
|||||||
storage:
|
storage:
|
||||||
layout:
|
layout:
|
||||||
name: lvm
|
name: lvm
|
||||||
|
sizing-policy: all
|
||||||
packages:
|
packages:
|
||||||
- vim
|
- vim
|
||||||
- htop
|
- btop
|
||||||
- net-tools
|
- net-tools
|
||||||
|
- fping
|
||||||
user-data:
|
user-data:
|
||||||
disable_root: false
|
disable_root: false
|
||||||
|
updates: all
|
||||||
|
shutdown: reboot
|
||||||
|
|
||||||
late-commands:
|
late-commands:
|
||||||
- curtin in-target --target=/target apt-get update
|
- curtin in-target --target=/target apt-get update
|
Loading…
Reference in New Issue
Block a user