Add notes on devuser when building images

Add notes on using devuser to create a local user when building test
images.

Change-Id: I9893cd949dd20f5c9fc93bf35b28de2cbac8b4bb
This commit is contained in:
Ian Wienand 2017-03-10 13:50:41 +11:00
parent 42c2803bfc
commit 101c43dbd3
1 changed files with 16 additions and 1 deletions

View File

@ -78,8 +78,23 @@ fi
# export DIB_CUSTOM_PROJECTS_LIST_URL='file:///tmp/custom_projects.yaml'
## If you are building test images, or dealing with networking issues,
## you will want to have a local login with password available (as
## opposed to key-based ssh only). You can use the "devuser" element
## from dib to set this up. Don't forget to enable sudo and set the
## password.
## defaults
## DIB_DEV_USER_USERNAME=devuser
## DIB_DEV_USER_AUTHORIZED_KEYS=$HOME/.ssh/id_rsa.pub
# EXTRA_ELEMENTS+=devuser
# DIB_DEV_USER_PWDLESS_SUDO=1
# DIB_DEV_USER_PASSWORD=devuser
## The list of elements below should match those configured
## in nodepool/nodepool.yaml
# The list of elements here should match nodepool/nodepool.yaml
disk-image-create -x --no-tmpfs -o $IMAGE_NAME \
$DISTRO \
vm \