summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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-07use more perlpod formatting codesHelmut 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-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
2022-12-28test: wait for qemu to terminateHelmut Grohne
2022-12-28tests: do not attempt to update a known hosts fileHelmut Grohne
This makes testing work in situations where $HOME isn't writeable.
2022-12-28debvm-create: do clean downloaded .debsHelmut Grohne
What should remain is downloaded package lists.
2022-12-28update pod2man documentationHelmut Grohne
* Rename debvm-create -s to -z. * Add long options. * Improve documentation of debvm-create -p and -z.
2022-12-28Merge branch main into branch pod2manHelmut Grohne
This merge picks up long options and the -s to -z rename.
2022-12-28debvm-create: rename -s option to -zHelmut Grohne
The idea is to eventually add a mechanism for skipping steps similar to how mmdebstrap allows skipping them.
2022-12-28add a mmdebstrap example hook for mounting 9p file systemsHelmut Grohne
2022-12-28Merge branch 'longoptions' into 'main'Helmut Grohne
support long options See merge request helmutg/debvm!13
2022-12-28debvm-create: allow easily overriding the kernel imageHelmut Grohne
When adding your own kernel image via -p, it will now skip the automatically detected one.
2022-12-27Merge branch 'ci_ssh' into 'main'Helmut Grohne
Ci ssh See merge request helmutg/debvm!10
2022-12-27test script: Use positional argumentsJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2022-12-27support long optionsHelmut Grohne
This change extends option parsing of the debvm tools: * Uses posix getopts. No additional dependencies. * Long option are supported. The option value may be a separate argument or separated with =. * Option value may follow short option immediately, e.g. -as390x * Multiple short options may be combined, e.g. -gs 2222 Technical limitation: * Short options are parsed inside a double dash, e.g. -g-image=rootfs.ext4
2022-12-27debvm-run: reenable smp for realHelmut Grohne
An empty MAX_SMP was supposed to mean "no limit", but it actually caused the -smp flag to be skipped entirely. Fixes: f3caaf885cf4 ("debvm-run: reenable smp for ppc64el")