Changeset 71e6ae5
- Timestamp:
- 03/18/2013 07:44:11 PM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 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:
- b141cb2
- Parents:
- 00bf2c9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
r00bf2c9 r71e6ae5 25 25 <!ENTITY sources-anduin-http "http://anduin.&lfs-domainname;/sources/BLFS/svn"> 26 26 <!ENTITY sources-anduin-ftp "ftp://anduin.&lfs-domainname;/BLFS/svn"> 27 <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/ other">27 <!ENTITY sources-anduin-other-http "http://anduin.&lfs-domainname;/sources/other"> 28 28 <!ENTITY sources-anduin-other "ftp://anduin.&lfs-domainname;/other"> 29 29 <!ENTITY files-anduin "http://anduin.&lfs-domainname;/files/BLFS/svn"> -
postlfs/virtualization/qemu.xml
r00bf2c9 r71e6ae5 259 259 switch=br0 260 260 261 if [ -n " $1" ]; then261 if [ -n "\$1" ]; then 262 262 # Add new tap0 interface to bridge 263 /sbin/ip link set $1 up263 /sbin/ip link set \$1 up 264 264 sleep 0.5s 265 /usr/sbin/brctl addif $switch$1265 /usr/sbin/brctl addif \$switch \$1 266 266 else 267 267 echo "Error: no interface specified" … … 270 270 271 271 exit 0 272 EOF</userinput></screen> 272 EOF 273 274 chmod +x /etc/qemu-ifup</userinput></screen> 273 275 274 276 <screen><userinput>cat >> /etc/qemu-ifdown << EOF … … 277 279 switch=br0 278 280 279 if [ -n " $1" ]; then281 if [ -n "\$1" ]; then 280 282 # Remove tap0 interface from bridge 281 /usr/sbin/brctl delif $switch$1283 /usr/sbin/brctl delif \$switch \$1 282 284 else 283 285 echo "Error: no interface specified" … … 286 288 287 289 exit 0 288 EOF</userinput></screen> 289 290 </listitem> 291 290 EOF 291 292 chmod +x /etc/qemu-ifdown</userinput></screen> 293 294 </listitem> 295 </itemizedlist> 296 297 <note><para>The backslashes in the abouve script are for convenience 298 for cut/paste operations. The backslashes should <emphasis>not</emphasis> 299 appear in the final scripts.</para></note> 300 301 <itemizedlist spacing="compact"> 292 302 <listitem> 293 303 <para>Start qemu with "-net nic -net tap" options. </para>
Note:
See TracChangeset
for help on using the changeset viewer.