write to bash script
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = ''
|
ExecStart = pkgs.writeShellScript "start-nimh-static" ''
|
||||||
kubernetes_config=$(mktemp)
|
kubernetes_config=$(mktemp)
|
||||||
gomplate=${pkgs.gomplate}/bin/gomplate
|
gomplate=${pkgs.gomplate}/bin/gomplate
|
||||||
gomplate --input-dir=./k3s --output-dir=$kubernetes_config
|
gomplate --input-dir=./k3s --output-dir=$kubernetes_config
|
||||||
|
|||||||
Reference in New Issue
Block a user