aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-06-24 17:10:05 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-06-24 17:13:47 -0700
commitcff531a1810a6213fdc117e0853c2b8622715157 (patch)
treeb6c8389ab17e268fe31a819114e8ed10dc30a97e
parent031f4e16be6d532494e2fac39d3838913b1e8435 (diff)
downloadconsfigurator-cff531a1810a6213fdc117e0853c2b8622715157.tar.gz
tutorial/disk_image.rst: set a root password
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--doc/tutorial/disk_image.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tutorial/disk_image.rst b/doc/tutorial/disk_image.rst
index 5eb5d22..cf22cd3 100644
--- a/doc/tutorial/disk_image.rst
+++ b/doc/tutorial/disk_image.rst
@@ -23,7 +23,8 @@ Here is a minimal definition of the host for which we can build a disk image:::
(partition
(ext4-filesystem :extra-space 400 :mount-point #P"/"))))))
(installer:bootloader-binaries-installed)
- (apt:installed "linux-image-amd64"))
+ (apt:installed "linux-image-amd64")
+ (user:has-enabled-password "root"))
- The ``DISK:HAS-VOLUMES`` property is like the ``OS:DEBIAN-STABLE`` property
in that both simply set hostattrs on the host -- they establish metadata to
@@ -96,8 +97,7 @@ Here's a quick way to test what we've built:::
% qemu-system-x86_64 -m 2G -drive file=tmp/test.img,format=raw \
-drive "if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd"
-It should boot up but you probably won't get a login prompt, since the root
-account's password is locked and we debootstrapped a very minimal system.
+It should boot up and you can login as root, password "changeme".
Uses for the disk image
-----------------------