debian-forge/stages
Tom Gundersen fc838a8e20 stages: add test stage
Adds a new systemd unit to the image that will be pulled in by default,
run a given command, forward the output to a virtio serial port and
shutdown the machine.

We add a sample that uses this to verify that systemd conciders the
machine successfully booted. A simple way to run this test from the
commandline is to use
  `$ socat UNIX-LISTEN:qemu.sock -`
to listen for either `running` for success or `degraded` or
`maintenance` for failure.

The image should then be booted using something like
  `$ qemu-kvm -m 1024 -nographic -monitor none -serial none -chardev socket,path=qemu.sock,id=char0 -device virtio-serial -device virtserialport,chardev=char0,id=test0 -snapshot  base.qcow2`

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-08-29 10:25:15 +02:00
..
org.osbuild.anaconda rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.ansible rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.debug-shell stages: add debug shell 2019-08-27 23:32:04 +03:00
org.osbuild.dnf stages/dnf: make install_weak_deps optional 2019-08-26 09:25:42 +03:00
org.osbuild.firewall introduce firewall stage (#61) 2019-08-07 09:34:22 +02:00
org.osbuild.fix-bls stages/fix-bls: add workaround for grub2-mkrelpath 2019-08-15 09:43:28 +03:00
org.osbuild.fstab stages/fstab: add a stage to specify the fstab to be installed 2019-08-26 09:25:42 +03:00
org.osbuild.grub2 stages/grub2: make booting in ro/rw mode configurable 2019-08-26 09:25:42 +03:00
org.osbuild.hostname introduce hostname stage 2019-08-13 13:24:36 +02:00
org.osbuild.keymap unify messages about files to be removed 2019-07-29 20:13:36 +02:00
org.osbuild.locale rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.noop rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.remove-uniqueness rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.script rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.selinux rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.systemd rename io.weldr to org.osbuild (#39) 2019-07-26 09:40:55 +02:00
org.osbuild.test stages: add test stage 2019-08-29 10:25:15 +02:00
org.osbuild.timezone unify messages about files to be removed 2019-07-29 20:13:36 +02:00
org.osbuild.users stages/org.osbuild.users: manage users 2019-08-12 13:45:30 +02:00
org.osbuild.yum travis: add a test for a yum-based pipeline 2019-07-31 01:34:31 +02:00
osbuild stages/assemblers: symlink the osbulid python library 2019-07-25 21:28:23 +02:00