mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools/hotplug/NetBSD: update netbsd scripts (interface names)
sysctl fail due to the '.' in the interface name: Jan 10 00:02:26 paris /netbsd: xvif108.0: could not attach sysctl nodes Jan 10 00:02:57 paris /netbsd: sysctl_createv: sysctl_create(xvif108.0) returned 22 The kernel driver have recently been fixed and attached patch updates to the hotplug scripts accordingly. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
618a3fb38b
commit
95dca036a5
2 files changed
+2
-2
No files matched your search
@@ -23,7 +23,7 @@ case $xstatus in
|
||||
xbridge=$(xenstore-read "$xpath/bridge")
|
||||
xfid=$(xenstore-read "$xpath/frontend-id")
|
||||
xhandle=$(xenstore-read "$xpath/handle")
|
||||
iface=xvif$xfid.$xhandle
|
||||
iface=$(xenstore-read "$xpath/vifname")
|
||||
echo ifconfig $iface up
|
||||
ifconfig $iface up
|
||||
brconfig $xbridge add $iface
|
||||
|
||||
@@ -23,7 +23,7 @@ case $xstatus in
|
||||
xip=$(xenstore-read "$xpath/ip")
|
||||
xfid=$(xenstore-read "$xpath/frontend-id")
|
||||
xhandle=$(xenstore-read "$xpath/handle")
|
||||
iface=xvif$xfid.$xhandle
|
||||
iface=$(xenstore-read "$xpath/vifname")
|
||||
echo ifconfig $iface $xip up
|
||||
ifconfig $iface $xip up
|
||||
xenstore-write $xpath/hotplug-status connected
|
||||
|
||||