parent
1e923e3cb5
commit
ae661a6148
@ -16,7 +16,7 @@ get_running_netvms() {
|
|||||||
suspend_net()
|
suspend_net()
|
||||||
{
|
{
|
||||||
for VM in `get_running_netvms`; do
|
for VM in `get_running_netvms`; do
|
||||||
qvm-run -u root --pass_io $VM "service NetworkManager stop"
|
qvm-run -u root --pass_io $VM 'service NetworkManager stop; for if in `ls /sys/class/net|grep -v "lo\|vif"`; do ip l s $if down; done'
|
||||||
done
|
done
|
||||||
# Ignore exit status from netvm...
|
# Ignore exit status from netvm...
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user