File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 '' ;
You can’t perform that action at this time.
0 commit comments