summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-12-23debvm-create: restrict networkd quirks to old releasesHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-23debvm-run: change dhcp option for dns searchHelmut Grohne
systemd on Debian stretch does not yet understand dnssearch aka dhcp option 119 and ignores it. Instead we pass it as domain name aka dhcp option 15. This option can only specify one name, which is what we do already. Beyond extending the search list, it may also affect the fqdn of the VM, but this shouldn't hurt.
2022-12-23debvm-create: extend negative dnssec trust anchorsHelmut Grohne
systemd turns on dnssec validation since buster and that makes local domain resolution break unless having a negative trust anchor. The standards settled on .home.arpa, but this is only listed since bullseye. In order to have this domain work on buster, it must be listed explicitly. It is a noop on later releases.
2022-12-22debvm-create: move UseDomains to DHCP sectionHelmut Grohne
The DHCP section covers both v4 and v6. On buster The versioned variants do not exist.
2022-12-22fix local dns searchHelmut Grohne
Previously, the /etc/resolv.conf was inherited from the host. It would thus also inherit the search domains. Now, the generated image lacks the host's resolv.conf and thus it search domains. This is good for reproducibility. In order to continue resolving plain host names, we tell qemu to serve the search domain via dhcp and we tell networkd to trust the dhcp server's domains. Signed-off-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-22Add a DNS resolver (Closes: #3)Jochen Sprickerhof
2022-12-22gitlabci: bump up vm timeoutHelmut Grohne
arm64 takes a little longer and the ssh loop takes up to 150s anyway.
2022-12-22gitlabci: restore release testingHelmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> Fixes: 92f183a21ed6 ("Test different architectures")
2022-12-22Merge branch 'josch' into 'main'Helmut Grohne
give the ext4 image a disk label See merge request helmutg/debvm!5
2022-12-22Merge branch 'architectures' into 'main'Helmut Grohne
Test different architectures See merge request helmutg/debvm!6
2022-12-22Test different architecturesJochen Sprickerhof
2022-12-22give the ext4 image a disk labelJohannes Schauer Marin Rodrigues
- this allows the kernel cmdline and fstab to refer to it by label instead of by /dev/sda or /dev/vda (depending on whether the disk is attached to qemu via virtio or not) - it allows other consumers of the image to detect that this is an image created by debvm and then treat it accordingly
2022-12-22gitlabci: enable testing jessieHelmut Grohne
2022-12-22gitlabci: extend testing to older releasesHelmut Grohne
2022-12-22gitlabci: fix up premature mergeHelmut Grohne
Closes: !4 Signed-off-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-22.gitlab-ci.yml: wait for system to be ready for ssh connections before ↵Johannes Schauer Marin Rodrigues
continueing
2022-12-21debvm-run: pass rw in the kernel command lineHelmut Grohne
This originates from !3 and helps with root file systems that lack a /etc/fstab. Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-21record Jochen as contributorHelmut Grohne
2022-12-21debvm-create: use cloud kernel for arm64 as wellJohannes Schauer Marin Rodrigues
2022-12-21README.md: add short usage exampleJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: use unsafe cache for more performanceJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: set the name for the process and SDL window captionJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: no need for true randomness -- use /dev/urandom to be fasterJohannes Schauer Marin Rodrigues
2022-12-21.gitlab-ci.yml: use timeout from coreutils instead of timelimitJohannes Schauer Marin Rodrigues
2022-12-21Merge branch josch into mainHelmut Grohne
2022-12-21debvm-create: skip the apt cleanupHelmut Grohne
Rather than downloading lists a second time, skip cleaning up the lists. Reported-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
2022-12-21attach the disk via virtio interface for some speed gain and to unify the ↵Johannes Schauer Marin Rodrigues
device node to be vda always
2022-12-21debvm-run: run qemu with -no-user-configJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: on arm64 there is no default machine -- set oneJohannes Schauer Marin Rodrigues
2022-12-21debvm-run: if mmdebstrap failed, the image file might exist but have zero ↵Johannes Schauer Marin Rodrigues
size -- test for that
2022-12-21debvm-create: explicitly request ext2 format from mmdebstrapHelmut Grohne
2022-12-21debvm-run: drop unnecessary -M option for s390xHelmut Grohne
2022-12-21vague mipsen supportHelmut Grohne
The resulting image doesn't boot and has no console output.
2022-12-21debvm-run: improve error message for bad imagesHelmut Grohne
2022-12-21support ppc64elHelmut Grohne
2022-12-21gitlab-ci: increase boot waitHelmut Grohne
This is a race condition. Let's see whether we can win it more reliably.
2022-12-21support i386Helmut Grohne
2022-12-21make it work for armhfHelmut Grohne
* Pick the right kernel image * The disk is vda * Use the right qemu and pass the right flags Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
2022-12-21Merge branch 'matrix' into 'main'Helmut Grohne
Test different releases See merge request helmutg/debvm!1
2022-12-21CI: switch to debian:sid-slimJochen Sprickerhof
2022-12-21Test different releasesJochen Sprickerhof
2022-12-21experiment with a simple .gitlab-ci.ymlHelmut Grohne
2022-12-21debvm-run: skip kvm-specific options when kvm is unavailableHelmut Grohne
2022-12-21debvm-run: allow running without kvmHelmut Grohne
The kvm binary will still opt into kvm when available.
2022-12-21debvm-create: avoid the usrmerge packageHelmut Grohne
2022-12-21debvm-create: avoid unnecessary dependency on systemd outsideHelmut Grohne
2022-12-20debvm-create: record bug number for jessie workaroundHelmut Grohne
2022-12-20README.md: Why?Helmut Grohne
2022-12-20debvm-create: allow passing arbitrary mmdebstrap optionsHelmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
2022-12-20initial checkinHelmut Grohne