File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const headerFile = `#!/bin/bash
59
59
60
60
# This file is generated by an utility called bump-version in
61
61
# tinkerbell/sandbox.
62
- # This file gets used from generate-envrc .sh but it is also used standalone by
62
+ # This file gets used from generate-env .sh but it is also used standalone by
63
63
# automation that wants to get the version of the programs currently supported
64
64
# in sandbox
65
65
Original file line number Diff line number Diff line change 2
2
3
3
# This file is generated by an utility called bump-version in
4
4
# tinkerbell/sandbox.
5
- # This file gets used from generate-envrc .sh but it is also used standalone by
5
+ # This file gets used from generate-env .sh but it is also used standalone by
6
6
# automation that wants to get the version of the programs currently supported
7
7
# in sandbox
8
8
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ resource "null_resource" "tink_directory" {
57
57
}
58
58
59
59
provisioner "file" {
60
- source = " ../../generate-envrc .sh"
61
- destination = " /root/tink/generate-envrc .sh"
60
+ source = " ../../generate-env .sh"
61
+ destination = " /root/tink/generate-env .sh"
62
62
}
63
63
64
64
provisioner "file" {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ main() (
35
35
export DEBIAN_FRONTEND=noninteractive
36
36
37
37
if [ ! -f ./.env ]; then
38
- ./generate-envrc .sh eth1 > .env
38
+ ./generate-env .sh eth1 > .env
39
39
fi
40
40
41
41
# shellcheck disable=SC1091
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ generate_password() (
44
44
head -c 12 /dev/urandom | sha256sum | cut -d' ' -f1
45
45
)
46
46
47
- generate_envrc () (
47
+ generate_env () (
48
48
local tink_interface=$1
49
49
50
50
validate_tinkerbell_network_interface " $tink_interface "
@@ -99,7 +99,7 @@ main() (
99
99
exit 1
100
100
fi
101
101
102
- generate_envrc " $1 "
102
+ generate_env " $1 "
103
103
)
104
104
105
105
main " $@ "
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ do_setup() (
490
490
check_prerequisites " $lsb_dist " " $lsb_version "
491
491
492
492
if [ ! -f " $ENV_FILE " ]; then
493
- echo " $ERR Run './generate-envrc .sh network-interface > \" $ENV_FILE \" ' before continuing."
493
+ echo " $ERR Run './generate-env .sh network-interface > \" $ENV_FILE \" ' before continuing."
494
494
exit 1
495
495
fi
496
496
You can’t perform that action at this time.
0 commit comments