Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30ce62b commit f5ba90bCopy full SHA for f5ba90b
examples/templates/kubernetes/main.tf
@@ -55,6 +55,14 @@ resource "coder_agent" "main" {
55
startup_script = <<EOT
56
#!/bin/bash
57
58
+ # home folder can be empty, so copying default bash settings
59
+ if [ ! -f ~/.profile ]; then
60
+ cp /etc/skel/.profile $HOME
61
+ fi
62
+ if [ ! -f ~/.bashrc ]; then
63
+ cp /etc/skel/.bashrc $HOME
64
65
+
66
# install and start code-server
67
curl -fsSL https://code-server.dev/install.sh | sh | tee code-server-install.log
68
code-server --auth none --port 13337 | tee code-server-install.log &
0 commit comments