Skip to content

Commit

Permalink
More example instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
olethanh committed Jun 26, 2024
1 parent 48eac5d commit d679128
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/example_confidential_image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Run the build_debian_image.sh that will create the image with the encrypted disk
bash ./build_debian_image.sh -o ~/destination-image.img --password your-password -r $ROOT_DIR
```

> If you need debuging you can pass the -x option to bash before the script name
## To test and further customise you image you can also boot it inside qemu
```shell
Expand Down
5 changes: 5 additions & 0 deletions examples/example_confidential_image/setup_debian_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,9 @@ update-initramfs -u
# Generate system SSH keys
ssh-keygen -A

# Example to add a sudo user
useradd -m -s /bin/bash username
echo 'username:password' | chpasswd
usermod -aG sudo username

umount /tmp

0 comments on commit d679128

Please sign in to comment.