summaryrefslogtreecommitdiff
path: root/setup-alpine.in
AgeCommit message (Collapse)Author
2022-11-05setup-alpine: fix error when -f <file> doesn't contain a slashJakub Jirutka
When running tests with /bin/sh -> /usr/bin/yash: ===> tests/setup_alpine_test:setup_alpine_create_answerfile Executing command [ setup-alpine -f answers ] Fail: incorrect exit status: 1, expected: 0 stdout: stderr: .: file `answers' was not found in $PATH https://pubs.opengroup.org/onlinepubs/009695299/utilities/dot.html: > If file does not contain a slash, the shell shall use the search > path specified by PATH to find the directory containing file.
2022-07-15setup-alpine: ensure unintentional ssh diconnectNatanael Copa
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
2022-07-12setup-alpine: fix typosNick Hanley
2022-07-07setup-alpine: add ROOTSSHKEY to set ssh key for rootNatanael Copa
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)
2022-07-06setup-alpine: persist root authorized_keysNick Hanley
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-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-05-23setup-alpine: add simple test for quick installNatanael Copa
2022-05-23setup-alpine: rely on PATH for testingNatanael Copa
Assume that PATH is set up properly for testing. This makes it possible to test setup-alpine without installing it with the sbin prefix.
2022-05-23setup-alpine: cleanup: remove use of NOCOMMITNatanael Copa
this was (presumabely) originally intended for testing. We use MOCK instead nowdays.
2022-05-23setup-alpine: don't ask for keymap from serial consoleNatanael Copa
Only ask user for keymap from virtual consoles.
2022-05-20setup-alpine: create doas userNatanael Copa
2022-05-13setup-alpine: fix -h usage textNatanael Copa
2022-05-04setup-alpine: refresh hostname directly after setup-hostnameNatanael Copa
hostname service is now a dependency for networking, so restarting hostname would restart network which is not what we want.
2022-05-02setup-alpine: fix typoNatanael Copa
2022-04-19setup-alpine.in: only enable acpid if machine has ACPI supportDermot Bradley
The acpid init.d daemon should not be enabled on machines that do not actually have ACPI support - this includes most Arm SBCs and occasionally some x86/x86_64 machines (including Firecracker VMs). If acpid is enabled in such situations then it will fail to start and the OpenRC service will show as crashed. Only enable the acpid service if the /sys/firmware/acpi directory exists which indicates the machine does have ACPI support. Closes https://gitlab.alpinelinux.org/alpine/aports/-/issues/12290 and https://gitlab.alpinelinux.org/alpine/aports/-/issues/13700.
2022-04-08setup-alpine: add setup-devd scriptLaurent Bercot
2022-03-16setup-alpine: do not restart networking service when run headlessmacmpi
2022-03-16fix PREFIX in *.inNick Hanley
Commit ec0c7a7 changed the sed expression for PREFIX injection but forgot to update the scripts.
2021-11-27setup-alpine: fix typo in answerfile variableKevin Daudt
6c70088 (setup-alpine: minor code clean up, 2021-11-16) did a clean-up of the answerfile code, but introduced a type on the `USEANSWERFILE` variable, resulting in answerfiles no longer to be sourced. Closes #10494
2021-11-16setup-alpine: minor code clean upNatanael Copa
No functional changes, just clean up code a bit.
2021-11-16setup-alpine: Support downloading answer fileLukas Bestle
Fixes #10483.
2021-11-16setup-dns: Use FQDN from hostname as domainLukas Bestle
2021-11-16setup-interfaces: New -r flag to restart serviceLukas Bestle
Fixes #10480. Fixes #10484.
2021-01-07setup-alpine: fix qemu detectionNatanael Copa
2019-02-21setup-alpine: setup ntp before reposNatanael Copa
we need time to be correct for https certificates when setting up apkrepos, so we call setup-ntp before setup-apkrepos. ref #9911
2018-06-13setup-alpine: make quick mode even quickerNatanael Copa
When -q option is specified: - skip set root password - auto configure network (dhcp)
2017-06-08setup-alpine: add -e to allow empty root passwordNatanael Copa
2017-05-23setup-alpine: start network in foregroundNatanael Copa
udhcpc will print info to stderr and it confuses the password prompt
2017-05-19setup-alpine: make quick mode quickerNatanael Copa
- use "alpine" as hostname - use first repo in the mirror list (normally cdn) - don't ask about proxy
2017-04-14setup-alpine: make udhcpc quietNatanael Copa
udhcpc will print to stdout the ip addr it got. This gets in the way for the root password prompt so we redirect udhcpc to /dev/null
2016-12-23setup-disk: exit with proper code on failureKaarle Ritvanen
fixes #2876
2016-11-02indent heredocs and replace echos with heredoc where appropriateJakub Jirutka
2016-11-02replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka
2016-11-02fix mixed tabs & spaces and surplus empty lines at EOFJakub Jirutka
2016-06-13setup-alpine: fix openrc warningNatanael Copa
2016-04-05setup-alpine: fix backwards compat for cronNatanael Copa
the crond service was previously named 'cron'. support both for backwards compat.
2016-03-19setup-alpine: cron service was renamed to crondSören Tempel
2015-05-06setup-alpine: cleanup: use longoptsNatanael Copa
2014-07-17setup-alpine: fix the example answer fileNatanael Copa
2014-06-23setup-alpine: support for lxcNatanael Copa
add support for setup-alpine from within a container. when running in lxc we skip config of: - keymap - hostname - ntp - disk - apk cache - lbu ref #3057
2014-04-23fix permissionsNatanael Copa
2012-11-05setup-alpine: sync apk cache after setupNatanael Copa
ref #1463
2012-06-20setup-xen-dom0: setup script to set up basic xen dom0Natanael Copa
2012-04-27setup-alpine: ask for proxy serverNatanael Copa
2012-03-05setup-alpine: clean up the usage helpNatanael Copa
2011-10-28setup-alpine: do not ask for ntp if qemu guestNatanael Copa
2011-10-28setup-alpine: implement -q for quick modeNatanael Copa
less questions