谷歌云外壳 .customize_environment 不工作

问题描述

我正在尝试在云外壳启动时安装代码服务器, 所以,我创建了文件 .customize_environment

nano $HOME/.customize_environment

内容是:

echo "installing code server..."
curl -fsSL https://code-server.dev/install.sh | sh
PATH="$HOME/.local/bin:$PATH"
echo "code-server installed"

当云外壳启动时,它仍然打印认消息

Welcome to Cloud Shell! Type "help" to get started.
Your Cloud Platform project in this session is set to

而不是installing code server...,并且不安装code-server

解决方法

这是由我们目前正在修复的错误引起的。如果下周这个问题仍然存在,请回复此线程。