summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2015-12-31 12:59:01 +0000
committerNeil Williams <codehelp@debian.org>2015-12-31 12:59:01 +0000
commit78f8e6657ba4fef04919dad889257d7f341c035b (patch)
tree9a3f4911d0dfb0f95e6843b9a50fb16b9bc368fd /yarns
parentb7c3af89b3cd5c64717f008bb5e59d15752c5725 (diff)
downloadvmdebootstrap-78f8e6657ba4fef04919dad889257d7f341c035b.tar.gz
Add support for systemd-networkd
When masking udev/systemd predictable network interface names, the initramfs must be updated or the mask will not be effective. Add support for systemd-networkd using predictable network interface names - can be extended using customisation scripts.
Diffstat (limited to 'yarns')
-rw-r--r--yarns/200-fast-tests.yarn7
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/200-fast-tests.yarn b/yarns/200-fast-tests.yarn
index 796535e..803d09d 100644
--- a/yarns/200-fast-tests.yarn
+++ b/yarns/200-fast-tests.yarn
@@ -167,3 +167,10 @@ verify that vmdebootstrap parses the command line correctly.
... --squash=FOO --tarball=FOO --arch=amd64 --dry-run
THEN vmdebootstrap exited with a non-zero exit code
AND vmdebootstrap wrote an error message matching not both
+
+ SCENARIO masking systemd-networkd without updating initramfs
+ ASSUMING fast tests are requested
+ WHEN user attempts to run vmdebootstrap
+ ... --image=FOO --no-systemd-networkd --no-update-initramfs --dry-run
+ THEN vmdebootstrap exited with a non-zero exit code
+ AND vmdebootstrap wrote an error message matching requires updating the