From af6fdc081395cd540d7f9eb6008de20e87551c52 Mon Sep 17 00:00:00 2001 From: david Date: Sun, 14 Oct 2018 21:03:28 +0000 Subject: Added a comment: needs update-initramfs --- .../comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/forum/__34__predictable__34___network_interface_names/comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment (limited to 'doc/forum/__34__predictable__34___network_interface_names') diff --git a/doc/forum/__34__predictable__34___network_interface_names/comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment b/doc/forum/__34__predictable__34___network_interface_names/comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment new file mode 100644 index 00000000..e284c8f1 --- /dev/null +++ b/doc/forum/__34__predictable__34___network_interface_names/comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="david" + avatar="http://cdn.libravatar.org/avatar/22c2d800db6a7699139df604a67cb221" + subject="needs update-initramfs" + date="2018-10-14T21:03:28Z" + content=""" +I guess that's a more productive line of thinking, I wouldn't expect these vm's to have more than one network interface. One gotcha that took a bit to figure out is that the masking needs update-initramfs to be seen at boot. The following seems to be working for me: + +[[!format haskell \"\"\" +& File.hasContent \"/etc/systemd/network/99-default.link\" [] + `onChange` ( Cmd.cmdProperty \"update-initramfs\" [\"-u\"] `changesFile` \"/initrd.img\" ) +\"\"\"]] +"""]] -- cgit v1.2.3