Skip to content

Commit 813e988

Browse files
committed
Fix spelling mistake
1 parent aa5612f commit 813e988

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

checks/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,22 +123,22 @@ let
123123
id = "credentials";
124124
modules = [ ({ config, pkgs, ... }: {
125125
# This is the guest vm config
126-
microvm.credentialFiles.SECRET_BOOTSRAP_KEY = "/etc/microvm-bootstrap.secret";
126+
microvm.credentialFiles.SECRET_BOOTSTRAP_KEY = "/etc/microvm-bootstrap.secret";
127127
microvm.testing.enableTest = builtins.elem config.microvm.hypervisor [
128128
# Hypervisors that support systemd credentials
129129
"qemu"
130130
];
131131
# TODO: need to somehow have the test harness check for the success or failure of this service.
132132
systemd.services.test-secret-availability = {
133133
serviceConfig = {
134-
ImportCredential = "SECRET_BOOTSRAP_KEY";
134+
ImportCredential = "SECRET_BOOTSTRAP_KEY";
135135
Restart = "no";
136136
};
137137
path = [ pkgs.gnugrep pkgs.coreutils ];
138138
script = ''
139-
cat $CREDENTIALS_DIRECTORY/SECRET_BOOTSRAP_KEY | grep -q "i am super secret"
139+
cat $CREDENTIALS_DIRECTORY/SECRET_BOOTSTRAP_KEY | grep -q "i am super secret"
140140
if [ $? -ne 0 ]; then
141-
echo "Secret not found at $CREDENTIALS_DIRECTORY/SECRET_BOOTSRAP_KEY"
141+
echo "Secret not found at $CREDENTIALS_DIRECTORY/SECRET_BOOTSTRAP_KEY"
142142
exit 1
143143
fi
144144
'';

0 commit comments

Comments
 (0)