We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 616ab5c commit 2a5060aCopy full SHA for 2a5060a
2 files changed
cli/internal/config/nodebootstrap/assets/script.sh.tmpl
@@ -25,7 +25,7 @@ apt-get update -y
25
apt-get upgrade -y
26
{{- end }}
27
{{- if .Packages }}
28
-apt-get install -y {{ join .Packages " " }}
+apt-get install -y --allow-change-held-packages {{ join .Packages " " }}
29
30
31
{{- if .FQDN }}
cli/internal/config/nodebootstrap/script_test.go
@@ -36,7 +36,7 @@ func Test_marshalScript_basic(t *testing.T) {
36
"#!/bin/bash",
37
"set -euo pipefail",
38
"apt-get update -y",
39
- "apt-get install -y curl",
+ "apt-get install -y --allow-change-held-packages curl",
40
"mkdir -p '/tmp'",
41
`cat <<'EOF' > '/tmp/config.json'`,
42
`{"key":"value"}`,
0 commit comments