Age | Commit message (Collapse) | Author |
|
This works around issue where /root might get world rx permissions.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10532
|
|
setup-alpine checks SSH_CONNECTION. Make sure to clear it when running
tests so tests does not fail when we run the testsuite over ssh.
|
|
Avoid restart network when running over ssh. hostname is now a
dependency of networking so openrc will restart networking together with
hostname, which may lead to disconnection when running over ssh.
Solve this by only restart hostname if SSH_CONNECTION is empty.
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14018
|
|
Be more strict in checking the contents of files by matching against the
whole line. This prevents tests from passing with extraneous leading or
trailing characters, or partial paths matching in lbu.list.
|
|
setup-alpine doesn't add root/.ssh to lbu.list. Check for
authorized_keys specifically.
|
|
|
|
Allow setting root's ssh key from answer file
Also add a test to verify that it gets included in lbu for disk install.
ref commit 619f3a2d4de9 (setup-alpine: persist root authorized_keys)
|
|
Ask for NTP when running qemu, but without kvm-clock source
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10508
|
|
make sure that we include the home directory to created user
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517
|
|
this fixes the tests so we dont mix with the hosts network interfaces.
|
|
Add a variable for user's ssh key, USERSSHKEY. We need this because the
key is space separated and we want avoid parse USEROPTS with eval to
handle quotes.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10520
|
|
test that the generated answerfile actually is interactive
|
|
|
|
|