diff --git a/toolkit/docs/building/building.md b/toolkit/docs/building/building.md index 95f0c17a992..4ddcbc0a7b3 100644 --- a/toolkit/docs/building/building.md +++ b/toolkit/docs/building/building.md @@ -209,7 +209,7 @@ sudo make iso CONFIG_FILE=./imageconfigs/full.json REBUILD_TOOLS=y To create an unattended ISO installer (no interactive UI) use `UNATTENDED_INSTALLER=y` and run with a [`CONFIG_FILE`](https://github.com/microsoft/CBL-MarinerDemo#image-config-file) that only specifies a _single_ SystemConfig. ```bash -# Build the standard ISO with unattended installer that installs onto the default Gen1 HyperV VM +# Build the standard ISO with unattended installer that installs onto the default Gen1 HyperV VM. Needs to cloud-init provision the user once unattended installation finishes. sudo make iso -j$(nproc) CONFIG_FILE=./imageconfigs/core-legacy-unattended-hyperv.json REBUILD_TOOLS=y UNATTENDED_INSTALLER=y ``` diff --git a/toolkit/imageconfigs/core-legacy-unattended-hyperv.json b/toolkit/imageconfigs/core-legacy-unattended-hyperv.json index 57ec28a45bd..109aa3cc691 100644 --- a/toolkit/imageconfigs/core-legacy-unattended-hyperv.json +++ b/toolkit/imageconfigs/core-legacy-unattended-hyperv.json @@ -47,15 +47,7 @@ "KernelOptions": { "default": "kernel" }, - "Hostname": "cbl-mariner", - "Users": [ - { - "Name": "root", - "Password": "$6$20m6y6nwlU1K$hKgyNYjVSKPJOTFaAzAf/fwACUV/dZ1NPy5cGNkhvRzKJiKDBKofuvDpdl81Jak4ep756DnZmVm7JfGRMO/n90", - "PasswordHashed": true, - "_comment": "The password is 'p@ssw0rd', this should be regenerated with 'openssl passwd -6 -salt ', or use the json key 'SSHPubKeyPaths' to use an SSH key for login" - } - ] + "Hostname": "cbl-mariner" } ] }