Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
Don't ask about root login if a user account was created
|
|
Ask for ssh key in separate question unless PermitRootLogin was set to
no.
|
|
apparently atf_check can not run in a subshell so we can not pipe the
input. Use a temp file for the answers instead
|
|
Use 'ssh' in lowercase consistently
Fix duplicate [prohibit-password]
|
|
when -a is specified, doas gets installed and configured and username is
added to wheels group for doas privileges
|
|
The username is shorter than full name so ask for that first and suggest
the username as fullname which will make the username show up in login
menu instead of 'Linux User'.
If -f FULLNAME is specified, then give a decent default suggestion based
on first letter in first name and lastname.
|
|
|
|
|
|
Make it possible to simulate wget errors by fetching an URL with 'fail'
or '404' in the URL string. 'fail' results in DNS error(ish) and '404'
returns a 404 error message.
|
|
|