Skip to content

Commit e5ea5cc

Browse files
committed
default vjunos to to host-forwarded mgmt mode
1 parent 4cbb252 commit e5ea5cc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

vjunosevolved/docker/launch.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@
99
import sys
1010
import uuid
1111

12-
from passlib.hash import sha512_crypt
13-
1412
import vrnetlab
13+
from passlib.hash import sha512_crypt
1514

1615
# loadable startup config
1716
STARTUP_CONFIG_FILE = "/config/startup-config.cfg"
@@ -55,7 +54,7 @@ def __init__(self, hostname, username, password, conn_mode):
5554
driveif="virtio",
5655
cpu="IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=off,avx2=off,bmi2=off,erms=off,invpcid=off,rdseed=off,adx=off,smap=off,xsaveopt=off,abm=off,svm=off",
5756
smp="4,sockets=1,cores=4,threads=1",
58-
mgmt_passthrough=True
57+
mgmt_passthrough=False,
5958
)
6059

6160
# device hostname

vjunosrouter/docker/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, hostname, username, password, conn_mode):
5252
driveif="virtio",
5353
cpu="IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=off,avx2=off,bmi2=off,erms=off,invpcid=off,rdseed=off,adx=off,smap=off,xsaveopt=off,abm=off,svm=on",
5454
smp="4,sockets=1,cores=4,threads=1",
55-
mgmt_passthrough=True
55+
mgmt_passthrough=False,
5656
)
5757
# device hostname
5858
self.hostname = hostname

vjunosswitch/docker/launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, hostname, username, password, conn_mode):
5252
driveif="virtio",
5353
cpu="IvyBridge,vme=on,ss=on,vmx=on,f16c=on,rdrand=on,hypervisor=on,arat=on,tsc-adjust=on,umip=on,arch-capabilities=on,pdpe1gb=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,bmi1=off,avx2=off,bmi2=off,erms=off,invpcid=off,rdseed=off,adx=off,smap=off,xsaveopt=off,abm=off,svm=on",
5454
smp="4,sockets=1,cores=4,threads=1",
55-
mgmt_passthrough=True
55+
mgmt_passthrough=False,
5656
)
5757
# device hostname
5858
self.hostname = hostname

0 commit comments

Comments
 (0)