mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
image: apply shellfmt suggestions
This commit is contained in:
parent
938f114086
commit
0b0e0ba46a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user