Changeset 58196bbf for postlfs/virtualization
- Timestamp:
- 05/02/2014 08:48:22 PM (10 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 7365b6c
- Parents:
- 672823e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/virtualization/qemu.xml
r672823e r58196bbf 271 271 <para>Allow the host system to forward IP packets.</para> 272 272 273 <screen ><userinput>sysctl -w net.ipv4.ip_forward=1</userinput></screen>273 <screen role="root"><userinput>sysctl -w net.ipv4.ip_forward=1</userinput></screen> 274 274 275 275 <para>To make this permanent, add the command to 276 276 <filename>/etc/syssysctl.conf:</filename></para> 277 277 278 <screen ><userinput>cat >> /etc/sysctl.conf << EOF278 <screen role="root"><userinput>cat >> /etc/sysctl.conf << EOF 279 279 net.ipv4.ip_forward=1 280 280 EOF</userinput></screen> … … 286 286 device, usually visible as tap0, to the host bridge.</para> 287 287 288 <screen ><userinput>cat > /etc/qemu-ifup << EOF288 <screen role="root"><userinput>cat > /etc/qemu-ifup << EOF 289 289 #!/bin/bash 290 290 … … 306 306 chmod +x /etc/qemu-ifup</userinput></screen> 307 307 308 <screen ><userinput>cat > /etc/qemu-ifdown << EOF308 <screen role="root"><userinput>cat > /etc/qemu-ifdown << EOF 309 309 #!/bin/bash 310 310
Note:
See TracChangeset
for help on using the changeset viewer.