Age | Commit message (Collapse) | Author |
|
fixes commit 4ad15542bc92 (lbu: fix import of libalpine.sh for tests)
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`
|
|
|
|
fixes commit 60c9392b6419 (Add -u unlock command to setup-user)
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
|
|
Copied from github PR, but add -u so that you can include to forcably unlock the user after creation.
Useful for when you want to create a user automatically so they can log in using a passed SSH key (-k), but without a password so they can set up a password after connecting.
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/75
|
|
If you pass -m none, just return immediately: For non-interactive diskless setups.
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71
|
|
This allows selecting 'none' via KEYMAPOPTS in answer file.
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
|
|
The script referenced the wrong variable.
|
|
|
|
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.
|
|
|
|
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13839
|
|
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
|
|
Do not enter interactive mode if -c was set, for backwards compatiblity.
|