dom0: detach vif at qvm-dom0-network-via-netvm down
This commit is contained in:
父節點
2b26350cb2
當前提交
07dc5d1430
@ -76,6 +76,7 @@ def netdown():
|
||||
print 'There is no eth0 that is a Xen vif device, aborting.'
|
||||
sys.exit(1)
|
||||
os.system('ifconfig eth0 down')
|
||||
os.system('xl network-detach 0 0')
|
||||
|
||||
def usage():
|
||||
print 'Usage: qvm-dom0-network-via-netvm [up|down]'
|
||||
|
||||
載入中…
新增問題並參考
Block a user