diff --git a/README.md b/README.md index 240dcab..d669f6a 100644 --- a/README.md +++ b/README.md @@ -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/) +[Autoinstall configuration reference manual](https://canonical-subiquity.readthedocs-hosted.com/en/latest/reference/autoinstall-reference.html) + 1. Install necessary packages ```bash diff --git a/cloud-config.yaml b/cloud-config.yaml deleted file mode 100644 index bc366d8..0000000 --- a/cloud-config.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/user-data.yaml b/user-data.yaml index 33cfc00..2d8de00 100644 --- a/user-data.yaml +++ b/user-data.yaml @@ -31,12 +31,16 @@ autoinstall: storage: layout: name: lvm + sizing-policy: all packages: - vim - - htop + - btop - net-tools + - fping user-data: disable_root: false + updates: all + shutdown: reboot late-commands: - curtin in-target --target=/target apt-get update \ No newline at end of file