From fdfe0cdc03407f40fd92b668444888833ea0ea4f Mon Sep 17 00:00:00 2001 From: Stefan Bethke Date: Sun, 30 Jul 2023 12:16:52 +0200 Subject: [PATCH] Disk size and root account --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8eb578..4272691 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,9 @@ Verify that the settings at the beginning of the script are suitable to the clus | `NAME` | `chaos-${OS}-tmpl` | name of the template | | `BRIDGE` | `vmbr0,tag=208` | name of the bridge to use and any parameters needed, like the VLAN tag | -### `authorized_keys` +### User Account and `authorized_keys` + +cloud-init will create a user `chaos`, by default with a locked password, and authorized keys initialized. The script expects `authorized_keys` to be in the current directory. Copy the correct contents from the [appropriate repository](https://gitlab.hamburg.ccc.de/ccchh/infrastructure-authorized-keys). @@ -29,4 +31,12 @@ The script expects `authorized_keys` to be in the current directory. Copy the co ## Cloning the Template -Please use "Full Clone" when creating a VM based on this template. Using Linked Clone means that the template's disk cannot be recreated since the linked clones need it. This means that the script cannot update the template. \ No newline at end of file +Please use "Full Clone" when creating a VM based on this template. Using Linked Clone means that the template's disk cannot be recreated since the linked clones need it. This means that the script cannot update the template. + +### Disk Size + +The installed `cloud-guest-utils` will automatically increase the root filesystem when you increase the size of the root disk. You will need to reboot the VM for the resize to take place. You can increase the size of the disk right after cloning and before starting the VM for the first time. + +### Root Password + +The root account is disabled. Use the `chaos` account. \ No newline at end of file