mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 11:22:43 +03:00
... ... ...
This commit is contained in:
parent
6e16b2a614
commit
5c7fbfedde
@ -194,7 +194,6 @@ set_ssh_keys_gcp_body() {
|
|||||||
fake_bin getent <<-EOF
|
fake_bin getent <<-EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "alpine:x:1000:1000:Linux User,,,:/home/alpine:/bin/sh"
|
echo "alpine:x:1000:1000:Linux User,,,:/home/alpine:/bin/sh"
|
||||||
echo "foo:x:1001:1001:Other Linux User,,,:/home/foo:/bin/sh"
|
|
||||||
EOF
|
EOF
|
||||||
fake_metadata_gcp <<-EOF
|
fake_metadata_gcp <<-EOF
|
||||||
project:
|
project:
|
||||||
@ -211,7 +210,7 @@ set_ssh_keys_gcp_body() {
|
|||||||
EOF
|
EOF
|
||||||
# TODO: need to figure out what to check
|
# TODO: need to figure out what to check
|
||||||
CLOUD="gcp" atf_check \
|
CLOUD="gcp" atf_check \
|
||||||
-o match:"chown.*/\.ssh" \
|
-o match:"installed ssh" \
|
||||||
sh -c "set -x; . \"$lib\"; init__set_ssh_keys"
|
sh -c "set -x; . \"$lib\"; init__set_ssh_keys"
|
||||||
atf_check -o match:"^ssh-ed25519 keydata" \
|
atf_check -o match:"^ssh-ed25519 keydata" \
|
||||||
-o match:"^ssh-rsa foobar" \
|
-o match:"^ssh-rsa foobar" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user