Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
add test to verify that pre/post package hooks are executed.
|
|
with and without encryption.
This also tests if sysconfdir is actually set
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/77#note_246788
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
Apparently we can set ssh key via SSH_KEY env var. make sure that it
works.
|
|
The ifupdown-ng implementations are apparently just stubs.
Partially reverts commit e9c6302edf1e (setup-interface: avoid install
bridge/bonding with ifupdown-ng)
|
|
We don't need to install bridge or bonding packages with ifupdown-ng.
|
|
Don't install vlan package if ifupdown-ng package is used.
Add tests for this.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10495
|
|
test that vlan gets installed
|
|
|
|
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.
|
|
|
|
|
|
Make sure we dont loop forever if adduser fails to create the user.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
|
|
So we can simulate what happens when adduser fails
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
|
|
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
|
|
|
|
We should not prompt user when -c is specified, in which case $1 is
empty.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
so we can test things like `lbu commit`
|
|
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/75
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
|
|
|
|
We can not pipe to atf_shell as it will make it run in a subshell and
will not handle failures properly.
Fixes commit ab67ab0733c2 (setup-proxy: fix empty proxy)
|
|
the while loop loops until the value of proxyurl is none or a http*://
scheme. however, when proxyurl is set to 'none', it then gets unset here
(`proxyurl= ;`), but the following `if` block checks if it is 'none' and
fails, so we configure an empty http_proxy= in the proxy.sh profile
script. this is then read by some software, and it causes it to crash.
for instance, flatpak via glib reads `http_proxy` from the environment,
and an empty variable is illegal.
|
|
Do not enter interactive mode if -c was set, for backwards compatiblity.
|
|
|
|
|
|
setup-alpine conditionally runs some parts depending on `openrc --sys`
output. Add a fake openrc so we can test this in the future.
This also fixes the CI which may not have openrc installed.
|
|
|