diff options
Diffstat (limited to 'os-plugins/plugins/qemukvm/files/qemu-ifup')
-rw-r--r-- | os-plugins/plugins/qemukvm/files/qemu-ifup | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os-plugins/plugins/qemukvm/files/qemu-ifup b/os-plugins/plugins/qemukvm/files/qemu-ifup index 59bcad85..6a25ad29 100644 --- a/os-plugins/plugins/qemukvm/files/qemu-ifup +++ b/os-plugins/plugins/qemukvm/files/qemu-ifup @@ -16,7 +16,7 @@ # Use the udhcpcd as DHCP server and brctl as provided by default in OpenSLX # environments via uclibc-wrapper. -. /etc/opt/openslx/network.qemukvm +. /etc/opt/openslx/plugin-repo/qemukvm/network.qemukvm # Just decide by the virtual network device used which kind of connection # should be set up (passed in $1): tap0 = bridge, tap1 = nat, tap2 = hostonly. @@ -32,7 +32,8 @@ case "$1" in sed -e "s,NWIF,tap1,;s,/misc/,/qemu/," \ -e "s,CNETWORK,${nataddress%.*},;s,PIDFILE,/tmp/qemu-$USER/udhcpd.pid," \ -e "s,LEASEFILE,/tmp/qemu-$USER/udhcpd.leases," \ - /etc/opt/openslx/udhcpd.conf >/tmp/qemu-$USER/udhcpd.conf + /etc/opt/openslx/plugin-repo/qemukvm/udhcpd.conf \ + >/tmp/qemu-$USER/udhcpd.conf touch /tmp/qemu-$USER/udhcpd.leases # ip link set tap1 up # ip addr add 192.168.101.254/24 dev tap1 |