summaryrefslogtreecommitdiff
path: root/doc/forum/__34__predictable__34___network_interface_names
diff options
context:
space:
mode:
authordavid2018-10-14 21:03:28 +0000
committeradmin2018-10-14 21:03:28 +0000
commitaf6fdc081395cd540d7f9eb6008de20e87551c52 (patch)
tree3dfbaec26b85b1dcfabc39d6add6366fba2a90aa /doc/forum/__34__predictable__34___network_interface_names
parentbe447e4c9380055dd43b1cfbde0545f790cf5b27 (diff)
Added a comment: needs update-initramfs
Diffstat (limited to 'doc/forum/__34__predictable__34___network_interface_names')
-rw-r--r--doc/forum/__34__predictable__34___network_interface_names/comment_2_25a2911fa57ea3da20f25b25d7c4406b._comment13
1 files changed, 13 insertions, 0 deletions
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\" )
+\"\"\"]]
+"""]]