summaryrefslogtreecommitdiff
path: root/debvm-create
AgeCommit message (Collapse)Author
2023-01-13debvm-create: add --skip=kernelHelmut Grohne
2023-01-11Merge branch main into skipHelmut Grohne
Resolve conflicts in the documentation of debvm-create.
2023-01-08debvm-create: automatically log in on serial gettyHelmut Grohne
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-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-03more docs for the ssh optionsJohannes Schauer Marin Rodrigues
2023-01-03debvm-create: set permissions of ~/.ssh to 700Johannes Schauer Marin Rodrigues
2022-12-31Merge branch 'pod2man' into 'main'Helmut Grohne
add documentation in pod2man format Closes #2 See merge request helmutg/debvm!11
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-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-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-25debvm-create: do not truncate images beyond their minimum sizeHelmut Grohne
2022-12-23Fix image name for fsckJochen Sprickerhof
2022-12-23improve documentation wording and contentHelmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-23standardize on image name rootfs.ext4Helmut Grohne
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
2022-12-23Use jessie-or-older hook in latest mmdebstrapJochen Sprickerhof
2022-12-23add documentation in pod2man formatHelmut Grohne
Fixes: #2
2022-12-23Merge branch 'dns' into 'main'Helmut Grohne
Add a DNS resolver (Closes: #3) Closes #3 See merge request helmutg/debvm!7
2022-12-23Merge branch 'fsck' into 'main'Helmut Grohne
Fix filesystem after creation See merge request helmutg/debvm!9
2022-12-23Use -p for fsckJochen Sprickerhof
Reported-by: Helmut Grohne <helmut@subdivi.de>
2022-12-23debvm-create: conditionalize network workarounds on $DEBVERHelmut Grohne
2022-12-23Fix errors by defaultJochen Sprickerhof
2022-12-23Merge branch main into branch dnsHelmut Grohne
This allows using the newly added DEBVER variable.
2022-12-23debvm-create: improve fsckHelmut Grohne
* Explain why we need this. * Pass recommended options -fD. * As a consequence, running it once is enough. * Don't mask errors.
2022-12-23Fix newlines in network fileJochen Sprickerhof
2022-12-23debvm-create: centralize matching of release namesHelmut Grohne
2022-12-23Merge branch availdb into branch mainHelmut Grohne
2022-12-23Merge branch mips into branch mainHelmut Grohne
2022-12-23debvm-create: always initialize available databaseHelmut Grohne
This is not a buster thingy. It affects other releases as well. Also avoid poking at apt internals.
2022-12-23Fix filesystem after creationJochen Sprickerhof
The VM is not bootable after a dist upgrade, otherwise, see: https://salsa.debian.org/helmutg/debvm/-/merge_requests/8 and when running twice.
2022-12-23debvm-create: restrict networkd quirks to old releasesHelmut Grohne
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
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-22debvm-create: drop wrong comment about fstabHelmut Grohne
We no longer need the fstab, because we now pass rw. The comment is simply wrong. We still create it to increase compatibility.
2022-12-22debvm-create: future-proof the merged-usr hookHelmut Grohne
2022-12-22Support mips* (Closes: #1)Jochen 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-21debvm-create: use cloud kernel for arm64 as wellJohannes 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