Last change
on this file since 1991 was
1260,
checked in by broder, 16 years ago
|
Divert /etc/xen/qemu-ifup instead of just scribbling over it
|
-
Property svn:executable set to
*
|
File size:
315 bytes
|
Rev | Line | |
---|
[95] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[104] | 3 | echo "config qemu network with xen bridge for $@" |
---|
[95] | 4 | |
---|
[104] | 5 | if [ -z "$domid" ]; then |
---|
| 6 | echo "domid is not set!!!" >&2 |
---|
| 7 | exit 1 |
---|
| 8 | fi |
---|
[95] | 9 | |
---|
| 10 | dev=$1 |
---|
| 11 | qemu_online=yes |
---|
| 12 | XENBUS_PATH=/local/domain/0/backend/vif/${domid}/0 |
---|
| 13 | vif=vif${domid}.0 |
---|
| 14 | export vif qemu_online XENBUS_PATH dev |
---|
| 15 | |
---|
[1257] | 16 | exec /etc/xen/scripts/vif-invirtroute online |
---|
Note: See
TracBrowser
for help on using the repository browser.