image: apply shellfmt suggestions

This commit is contained in:
Otto Bittner 2023-01-16 12:04:35 +01:00
parent 938f114086
commit 0b0e0ba46a

View File

@ -22,8 +22,8 @@ rm -f /etc/issue
rm -f /etc/issue.net
# add motd for constellation console access
if [[ "${CONSOLE_MOTD:-false}" == "true" ]]; then
cat <<EOF > /usr/lib/motd.d/10-constellation-console-access.motd
if [[ ${CONSOLE_MOTD:-false} == "true" ]]; then
cat <<EOF > /usr/lib/motd.d/10-constellation-console-access.motd
~ Welcome to Constellation! ~
Usually, on release versions of Constellation running in the cloud, you are not able to login through the serial console.
This shell access is specifically granted for debug images and MiniConstellation to allow users to research the environment Constellation runs in.
@ -31,7 +31,6 @@ Have fun! Feel free to report any issues to GitHub or security@edgeless.systems
EOF
fi
# update /etc/os-release
echo "IMAGE_ID=\"${IMAGE_ID}\"" >> /etc/os-release
echo "IMAGE_VERSION=\"${IMAGE_VERSION}\"" >> /etc/os-release