Age | Commit message (Collapse) | Author |
|
* Rename debvm-create -s to -z.
* Add long options.
* Improve documentation of debvm-create -p and -z.
|
|
This merge picks up long options and the -s to -z rename.
|
|
The idea is to eventually add a mechanism for skipping steps similar to
how mmdebstrap allows skipping them.
|
|
|
|
support long options
See merge request helmutg/debvm!13
|
|
When adding your own kernel image via -p, it will now skip the
automatically detected one.
|
|
Ci ssh
See merge request helmutg/debvm!10
|
|
Reported-by: Helmut Grohne <helmut@subdivi.de>
|
|
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
|
|
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")
|
|
|
|
|
|
|
|
|
|
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Use jessie-or-older hook in latest mmdebstrap
See merge request helmutg/debvm!12
|
|
|
|
|
|
|
|
|
|
Fixes: #2
|
|
Add a DNS resolver (Closes: #3)
Closes #3
See merge request helmutg/debvm!7
|
|
Fix filesystem after creation
See merge request helmutg/debvm!9
|
|
Reported-by: Helmut Grohne <helmut@subdivi.de>
|
|
|
|
|
|
This allows using the newly added DEBVER variable.
|
|
* Explain why we need this.
* Pass recommended options -fD.
* As a consequence, running it once is enough.
* Don't mask errors.
|
|
|
|
|
|
|
|
|
|
This is not a buster thingy. It affects other releases as well. Also
avoid poking at apt internals.
|
|
The VM is not bootable after a dist upgrade, otherwise, see:
https://salsa.debian.org/helmutg/debvm/-/merge_requests/8
and when running twice.
|
|
This reverts commit cb3bc614a76ca2155ce01e5feb0a15e639ee8a39.
Still hangs for Jochen. Let's not investigate further.
|
|
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
|
|
Fixes: aadbcc92761c ("Support mips* (Closes: #1)")
|
|
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.
|
|
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.
|
|
The DHCP section covers both v4 and v6. On buster The versioned variants
do not exist.
|
|
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>
|
|
|
|
We no longer need the fstab, because we now pass rw. The comment is
simply wrong. We still create it to increase compatibility.
|
|
|
|
|
|
arm64 takes a little longer and the ssh loop takes up to 150s anyway.
|