summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-01-13Merge branch main into helmutHelmut Grohne
Resolve conflicts in debvm-create arising from adding --skip and moving the functionality to be skipped to share/customize-*.sh.
2023-01-13Merge branch 'skip' into 'main'Helmut Grohne
debvm-create: add a --skip option See merge request helmutg/debvm!21
2023-01-13debvm-create: add --skip=kernelHelmut Grohne
2023-01-13debvm-create: defer the decision of installing libnss-resolve to aptHelmut Grohne
Rather than check the DEBVER, let apt figure out whether it knows about a package called libnss-resolve and install it when available.
2023-01-13automatically set up agetty TERM when possibleHelmut Grohne
* debvm-create will now parse a new kernel cmdline debvm.term and if present will pass its value to agetty as TERM. * debvm-run will now detect whether it is running in a terminal in non-graphic mode and pass its environment TERM variable as debvm.term to the kernel cmdline thus closing the loop.
2023-01-12debvm-create: also move dpkg's available database to a hook fileHelmut Grohne
2023-01-11debvm-create: move functionality into support filesHelmut Grohne
The benefit of this change is that we don't have to escape that much. As a consequence, it becomes easier to put more code into the customization hooks, which have access to installed package versions. Thus we can reduce the use of DEBVER and thus improve working with snapshot.d.o.
2023-01-11CI: attempt to fix by not using a relative path in $PATHHelmut Grohne
2023-01-11Merge branch main into skipHelmut Grohne
Resolve conflicts in the documentation of debvm-create.
2023-01-11debvm-run: fix typo in error pathHelmut Grohne
2023-01-11move the debvm-* tools to binHelmut Grohne
The purpose of this change is adding support files to be referenced and called from these tools. Those support files shall be located in ../share and this way of locating them shall work both in-source and when installed.
2023-01-08Merge branch 'faq' into 'main'Helmut Grohne
Add FAQ to debvm-run See merge request helmutg/debvm!19
2023-01-08Add FAQ to debvm-runJochen Sprickerhof
2023-01-08debvm-create: automatically log in on serial gettyHelmut Grohne
2023-01-08Merge branch 'josch' into 'main'Johannes Schauer Marin Rodrigues
some debvm-waitssh improvements See merge request helmutg/debvm!18
2023-01-08debvm-waitssh: remove redundant adjective 'positive' from error messageJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: don't apply -q to usage errors and further port checkHelmut Grohne
2023-01-08debvm-waitssh: bad usage should result in exit 2Helmut Grohne
2023-01-08debvm-waitssh: standardize option parserHelmut Grohne
An option --foo is handled by opt_foo.
2023-01-08debvm-waitssh: error out if hostname contains @ characterJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: error out if port number is not a positive integerJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: output error message if timeout is reachedJohannes Schauer Marin Rodrigues
2023-01-08debvm-waitssh: add --quiet optionJohannes Schauer Marin Rodrigues
2023-01-08debvm-create: allow skipping the usrmerge hookHelmut Grohne
2023-01-07use more perlpod formatting codesHelmut Grohne
2023-01-07debvm-create: allow skipping package listsHelmut Grohne
2023-01-07Merge branch 'josch' into 'main'Helmut Grohne
debvm-run: add an example (I always forget about the -snapshot option) See merge request helmutg/debvm!17
2023-01-07Merge branch 'waitssh' into 'main'Helmut Grohne
add tool debvm-waitssh See merge request helmutg/debvm!16
2023-01-07debvm-run: add an example (I always forget about the -snapshot option)Johannes Schauer Marin Rodrigues
2023-01-04debvm-create: add a --skip optionHelmut Grohne
As with mmdebstrap, the --skip option can be used to skip over tasks that are enabled by default. For now, we just add an integration for
2023-01-04Merge branch 'user' into 'main'Helmut Grohne
add useraddhook/customize.sh See merge request helmutg/debvm!15
2023-01-04add useraddhook/customize.shJohannes Schauer Marin Rodrigues
- the new user is called "user" - no password required for login - requires the passwd package installed inside the chroot - this adds the new user to the sudo group if it exists - requires the passwd and coreutils packages installed inside the chroot - adds the new user to the sudo group if it exists - ~/.ssh/authorized_keys files is copied from root user if it exists
2023-01-03debvm-waitssh: issue fewer test connectionsHelmut Grohne
ssh-keyscan creates one connection per key type.
2023-01-03debvm-waitssh: force ipv4Helmut Grohne
On salsa, localhost resolves to ::1 and ssh-keyscan skips checking 127.0.0.1 there.
2023-01-03debvm-waitssh: make timeout configurable and restore previous value for testsHelmut Grohne
2023-01-03Merge branch 'ssh' into 'main'Helmut Grohne
some ssh related improvements See merge request helmutg/debvm!14
2023-01-03gitlab-ci: stop installing sleepenhHelmut Grohne
2023-01-03add a debvm-waitssh utilityHelmut Grohne
2023-01-03more docs for the ssh optionsJohannes Schauer Marin Rodrigues
2023-01-03debvm-create: set permissions of ~/.ssh to 700Johannes Schauer Marin Rodrigues
2023-01-02README: advertise debvm as root-lessHelmut Grohne
2023-01-01debvm-run: support riscv64Helmut Grohne
2022-12-31Merge branch 'dist-ugrade' into 'main'Helmut Grohne
Dist ugrade Closes #3 See merge request helmutg/debvm!8
2022-12-31gitlab-ci: also apply shellcheck and codespell to testsHelmut Grohne
2022-12-31Use more variablesJochen Sprickerhof
2022-12-31Merge branch 'pod2man' into 'main'Helmut Grohne
add documentation in pod2man format Closes #2 See merge request helmutg/debvm!11
2022-12-31tests: rework common codeHelmut Grohne
Turn try-ssh.sh script into a shell function library.
2022-12-31tests: discover tool under test from $PATHHelmut Grohne
This enables use in autopkgtests and makes it consistent with the create-and-run.sh test.
2022-12-28Test dist-upgradesJochen Sprickerhof
2022-12-28Extract ssh connection check to try-ssh.shJochen Sprickerhof