From 6e5e4d2a44296d94186c09df9fd9394798642e79 Mon Sep 17 00:00:00 2001 From: DJ Lucas Date: Sun, 5 Jun 2016 20:58:00 +0000 Subject: [PATCH] [Systemd merge] - qemu git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17449 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- postlfs/virtualization/qemu.xml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/postlfs/virtualization/qemu.xml b/postlfs/virtualization/qemu.xml index b577aff210..2959a2ef51 100644 --- a/postlfs/virtualization/qemu.xml +++ b/postlfs/virtualization/qemu.xml @@ -89,7 +89,7 @@ (for libcacard.so), , , - , + , and libssh2 @@ -366,13 +366,21 @@ EOF sysctl -w net.ipv4.ip_forward=1 - To make this permanent, add the command to + To make this permanent, add the command to /etc/sysctl.conf: -cat >> /etc/sysctl.conf << EOF +cat >> /etc/sysctl.conf << EOF net.ipv4.ip_forward=1 EOF + To make this permanent, add the command to + /etc/sysctl.d/60-net-forward.conf: + +cat >> /etc/sysctl.d/60-net-forward.conf << EOF +net.ipv4.ip_forward=1 +EOF + +