From 785bbf9f39813fafd09ba10e1d3a6a1f2ff291c2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 29 Jan 2021 14:31:09 +0100 Subject: tools/create-gce-image.sh: setup ssh with empty password We used to use ssh keys, but there are no partiuclar advantages of using key over empty password. It just makes things more complex. And the new image building code in pkg/build does not support keys. --- pkg/build/linux_gen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/build/linux_gen.sh') diff --git a/pkg/build/linux_gen.sh b/pkg/build/linux_gen.sh index d69e61bc7..c4de59ce0 100755 --- a/pkg/build/linux_gen.sh +++ b/pkg/build/linux_gen.sh @@ -7,5 +7,5 @@ set -eu echo -en '// Code generated by pkg/build/linux.go. DO NOT EDIT.\n\n' > linux_generated.go echo -en 'package build\n\n' >> linux_generated.go echo -en 'const createImageScript = `#!/bin/bash\n' >> linux_generated.go -cat ../../tools/create-gce-image.sh | grep -v '#' >> linux_generated.go +cat ../../tools/create-gce-image.sh | egrep -v '^\s*#' >> linux_generated.go echo -en '`\n\n' >> linux_generated.go -- cgit mrf-deployment