chore: add start_blocks_login=true (#61)
This commit is contained in:
committed by
GitHub
parent
d7f60d3000
commit
b031136552
@@ -26,12 +26,13 @@ variable "agent_id" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
resource "coder_script" "git_clone" {
|
resource "coder_script" "git_clone" {
|
||||||
agent_id = var.agent_id
|
agent_id = var.agent_id
|
||||||
display_name = "Git Clone"
|
|
||||||
icon = "/icons/git.svg"
|
|
||||||
script = templatefile("${path.module}/run.sh", {
|
script = templatefile("${path.module}/run.sh", {
|
||||||
CLONE_PATH : var.path != "" ? var.path : join("/", ["~", basename(var.url)]),
|
CLONE_PATH : var.path != "" ? var.path : join("/", ["~", basename(var.url)]),
|
||||||
REPO_URL : var.url,
|
REPO_URL : var.url,
|
||||||
})
|
})
|
||||||
run_on_start = true
|
display_name = "Git Clone"
|
||||||
|
icon = "/icons/git.svg"
|
||||||
|
run_on_start = true
|
||||||
|
start_blocks_login = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,8 +31,9 @@ resource "coder_script" "personalize" {
|
|||||||
script = templatefile("${path.module}/run.sh", {
|
script = templatefile("${path.module}/run.sh", {
|
||||||
PERSONALIZE_PATH : var.path,
|
PERSONALIZE_PATH : var.path,
|
||||||
})
|
})
|
||||||
display_name = "Personalize"
|
display_name = "Personalize"
|
||||||
icon = "/icon/personalize.svg"
|
icon = "/icon/personalize.svg"
|
||||||
log_path = var.log_path
|
log_path = var.log_path
|
||||||
run_on_start = true
|
run_on_start = true
|
||||||
|
start_blocks_login = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user