summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-07-07tests: setup-sshd: add test for SSH_KEY env varNatanael Copa
Apparently we can set ssh key via SSH_KEY env var. make sure that it works.
2022-07-06setup-alpine: persist root authorized_keysNick Hanley
2022-07-06setup-interfaces: install bonding/bridge pkgsNatanael Copa
The ifupdown-ng implementations are apparently just stubs. Partially reverts commit e9c6302edf1e (setup-interface: avoid install bridge/bonding with ifupdown-ng)
2022-07-05setup-interface: avoid install bridge/bonding with ifupdown-ngNatanael Copa
We don't need to install bridge or bonding packages with ifupdown-ng.
2022-07-05setup-interfaces: don't install legacy vlan packageNatanael Copa
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
2022-07-05setup-interfaces: mock apk add and test that vlan gets installedNatanael Copa
test that vlan gets installed
2022-07-05tests: setup-interfaces: add simple test for dhcpNatanael Copa
2022-07-05setup-alpine: ask for NTP on qemu without kvm-clockNatanael Copa
Ask for NTP when running qemu, but without kvm-clock source fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10508
2022-07-04setup-alpine: lbu add home directory for created userNatanael Copa
make sure that we include the home directory to created user fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517
2022-07-03lbu: update include/exclude list paths in usageNick Hanley
2022-07-01setup-interfaces: use fake /sys/class/net for testingNatanael Copa
this fixes the tests so we dont mix with the hosts network interfaces.
2022-07-01libalpine.sh: add tests for available_ifacesNatanael Copa
2022-07-01tests: libalpine: add tests for isinNatanael Copa
2022-07-01setup-user: avoid eternal loop on adduser failureNatanael Copa
Make sure we dont loop forever if adduser fails to create the user. fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
2022-07-01tests: add fake adduserNatanael Copa
So we can simulate what happens when adduser fails ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
2022-07-01setup-alpine: add USERSSHKEY option to answerfileNatanael Copa
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
2022-07-01setup-alpine: update generated answerfile and add testNatanael Copa
test that the generated answerfile actually is interactive
2022-07-01tests: setup-apkcache: add test for 'none'Natanael Copa
2022-07-01setup-ntp: fix non-interactive -c optionNatanael Copa
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
2022-07-01setup-timezone: exit if 'none' is set as timezoneNatanael Copa
2022-07-01setup-disk: exit if either mode or disk is 'none'Natanael Copa
2022-07-01lbu: fix import of libalpine.sh for testsNatanael Copa
2022-06-28lbu: add test for add/deleteNatanael Copa
2022-06-28lbu: add test for lbu list usageNatanael Copa
2022-06-28lbu: add test for lbu diff usageNatanael Copa
2022-06-28lbu: add tests for lbu exclude usageNatanael Copa
2022-06-28lbu: add test for lbu commit usageNatanael Copa
2022-06-28lbu: add test for lbu include usageNatanael Copa
2022-06-28tests: fix test_usage to accept sub commandsNatanael Copa
so we can test things like `lbu commit`
2022-06-28lbu: fix usage for top levelNatanael Copa
2022-06-28setup-user: exit with error if unlocking user failsNatanael Copa
fixes commit 60c9392b6419 (Add -u unlock command to setup-user)
2022-06-28tests: add test for setup-user -uNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
2022-06-28Add -u unlock command to setup-userShaRose
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.
2022-06-28tests: setup-disk: add test for -m noneNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/75
2022-06-28setup-disk: Die if disklessShaRose
If you pass -m none, just return immediately: For non-interactive diskless setups.
2022-06-28tests: setup-keymap: add test for non-interactive 'none'Natanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/71
2022-06-28setup-keymap: accept 'none' as LAYOUTAlex Sivchev
This allows selecting 'none' via KEYMAPOPTS in answer file.
2022-06-28tests: setup-user: add test for -k optNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
2022-06-28setup-user: fix non-interactive handling of ssh keys urlMaxim Karasev
The script referenced the wrong variable.
2022-06-28tests: make fake wget to error on missing/or empty urlNatanael Copa
2022-06-28tests: do not run atf_check in a subshellNatanael Copa
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)
2022-06-28gitignore: setup-userNatanael Copa
2022-06-28setup-proxy: fix empty proxypsykose
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.
2022-05-27==== release 3.14.2 ====Natanael Copa
2022-05-25setup-disk: use logical_block_size to calculate ESP sizeNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13839
2022-05-25setup-disk: fix whitespace errorNatanael Copa
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/13861
2022-05-24setup-sshd: fix backwards compat with -cNatanael Copa
Do not enter interactive mode if -c was set, for backwards compatiblity.
2022-05-24setup-xen-dom0: add testNatanael Copa
2022-05-23Add license fileNatanael Copa
2022-05-23==== release 3.14.1 ====Natanael Copa