.
This commit is contained in:
@ -28,6 +28,11 @@ ifconfig bridge9 addm tap2082 up
|
||||
ifconfig tap2082 up
|
||||
ifconfig tap2082 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap4882 create
|
||||
ifconfig bridge48 addm tap4882 up
|
||||
ifconfig tap4882 up
|
||||
ifconfig tap4882 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap83 create
|
||||
ifconfig bridge1 addm tap83 up
|
||||
ifconfig tap83 up
|
||||
@ -58,6 +63,11 @@ ifconfig bridge9 addm tap2086 up
|
||||
ifconfig tap2086 up
|
||||
ifconfig tap2086 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap4886 create
|
||||
ifconfig bridge48 addm tap4886 up
|
||||
ifconfig tap4886 up
|
||||
ifconfig tap4886 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap90 create
|
||||
ifconfig bridge1 addm tap90 up
|
||||
ifconfig tap90 up
|
||||
@ -83,6 +93,11 @@ ifconfig bridge9 addm tap2097 up
|
||||
ifconfig tap2097 up
|
||||
ifconfig tap2097 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap4897 create
|
||||
ifconfig bridge48 addm tap4897 up
|
||||
ifconfig tap4897 up
|
||||
ifconfig tap4897 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap96 create
|
||||
ifconfig bridge1 addm tap96 up
|
||||
ifconfig tap96 up
|
||||
@ -97,3 +112,8 @@ ifconfig tap2096 create
|
||||
ifconfig bridge9 addm tap2096 up
|
||||
ifconfig tap2096 up
|
||||
ifconfig tap2096 inet6 auto_linklocal
|
||||
|
||||
ifconfig tap4896 create
|
||||
ifconfig bridge48 addm tap4896 up
|
||||
ifconfig tap4896 up
|
||||
ifconfig tap4896 inet6 auto_linklocal
|
||||
|
@ -22,6 +22,7 @@ bhyve -c 4 -m 16G -A -H -P \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/cvm-a \
|
||||
-s 5,virtio-net,tap97,mac=00:0A:0B:0C:0D:97 \
|
||||
-s 6,virtio-blk,/dev/zvol/ship/raw/cvm-a_data \
|
||||
-s 7,virtio-net,tap4897,mac=00:0A:0B:0C:7D:97 \
|
||||
-s 8,virtio-net,tap1097,mac=00:0A:0B:0C:8D:97 \
|
||||
-s 9,virtio-net,tap2097,mac=00:0A:0B:0C:9D:97 \
|
||||
-s 29,fbuf,tcp=0.0.0.0:5997,w=1600,h=900 \
|
||||
@ -59,12 +60,3 @@ exit $?
|
||||
#on base system:
|
||||
#zfs create -V 32G -o refreservation=none ship/raw/cvm-a - docker partition
|
||||
#zfs create -V 128G -o refreservation=none ship/raw/cvm-a_data - root partition
|
||||
# on boot
|
||||
#ifconfig tap97 create
|
||||
#ifconfig bridge1 addm tap97 up
|
||||
#ifconfig tap97 up
|
||||
#ifconfig tap97 inet6 auto_linklocal
|
||||
#ifconfig tap1097 create
|
||||
#ifconfig bridge10 addm tap1097 up
|
||||
#ifconfig tap1097 up
|
||||
#ifconfig tap1097 inet6 auto_linklocal
|
||||
|
@ -22,6 +22,7 @@ bhyve -c 4 -m 16G -A -H -P \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/cvm-b \
|
||||
-s 5,virtio-net,tap96,mac=00:0A:0B:0C:0D:96 \
|
||||
-s 6,virtio-blk,/dev/zvol/ship/raw/cvm-b_data \
|
||||
-s 7,virtio-net,tap4896,mac=00:0A:0B:0C:7D:96 \
|
||||
-s 8,virtio-net,tap1096,mac=00:0A:0B:0C:8D:96 \
|
||||
-s 9,virtio-net,tap2096,mac=00:0A:0B:0C:9D:96 \
|
||||
-s 29,fbuf,tcp=0.0.0.0:5996,w=1600,h=900 \
|
||||
@ -59,12 +60,3 @@ exit $?
|
||||
#on base system:
|
||||
#zfs create -V 32G -o refreservation=none ship/raw/cvm-b - docker partition
|
||||
#zfs create -V 128G -o refreservation=none ship/raw/cvm-b_data - root partition
|
||||
# on boot
|
||||
#ifconfig tap96 create
|
||||
#ifconfig bridge1 addm tap96 up
|
||||
#ifconfig tap96 up
|
||||
#ifconfig tap96 inet6 auto_linklocal
|
||||
#ifconfig tap1096 create
|
||||
#ifconfig bridge10 addm tap1096 up
|
||||
#ifconfig tap1096 up
|
||||
#ifconfig tap1096 inet6 auto_linklocal
|
||||
|
@ -16,7 +16,7 @@ bhyvectl --destroy --vm=freebsd
|
||||
while true
|
||||
do
|
||||
|
||||
bhyve -c 4 -m 8G -A -H -P \
|
||||
bhyve -c 2 -m 4G -A -H -P \
|
||||
-s 0,hostbridge \
|
||||
-s 3,ahci-cd \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/freebsd \
|
||||
|
@ -10,6 +10,9 @@
|
||||
|
||||
# ./kali.sh under tmux
|
||||
|
||||
# disabled for now
|
||||
exit
|
||||
|
||||
# clean cached state
|
||||
bhyvectl --destroy --vm=kali
|
||||
|
||||
@ -21,6 +24,7 @@ bhyve -c 2 -m 4G -A -H -P \
|
||||
-s 3,ahci-cd \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/kali \
|
||||
-s 5,virtio-net,tap86,mac=00:0A:0B:0C:0D:86 \
|
||||
-s 7,virtio-net,tap4886,mac=00:0A:0B:0C:8D:86 \
|
||||
-s 8,virtio-net,tap1086,mac=00:0A:0B:0C:8D:86 \
|
||||
-s 9,virtio-net,tap2086,mac=00:0A:0B:0C:9D:86 \
|
||||
-s 29,fbuf,tcp=0.0.0.0:5986,w=1280,h=720 \
|
||||
@ -59,15 +63,6 @@ exit $?
|
||||
#on base system:
|
||||
#zfs create -V 128G -o refreservation=none ship/raw/kali
|
||||
##zfs create -V 128G -o refreservation=none ship/raw/kali_data
|
||||
# on boot
|
||||
#ifconfig tap86 create
|
||||
#ifconfig bridge1 addm tap86 up
|
||||
#ifconfig tap86 up
|
||||
#ifconfig tap86 inet6 auto_linklocal
|
||||
#ifconfig tap1086 create
|
||||
#ifconfig bridge10 addm tap1086 up
|
||||
#ifconfig tap1086 up
|
||||
#ifconfig tap1086 inet6 auto_linklocal
|
||||
|
||||
# Install VNC
|
||||
# curl -o turbovnc_2.2.5_amd64.deb https://sourceforge.net/projects/turbovnc/files/2.2.5/turbovnc_2.2.5_amd64.deb/download#
|
||||
|
@ -16,7 +16,7 @@ bhyvectl --destroy --vm=pbx
|
||||
while true
|
||||
do
|
||||
|
||||
bhyve -c 2 -m 8G -A -H -P \
|
||||
bhyve -c 2 -m 4G -A -H -P \
|
||||
-s 0,hostbridge \
|
||||
-s 3,ahci-cd \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/pbx \
|
||||
|
@ -10,13 +10,16 @@
|
||||
|
||||
# ./r-windows.sh under tmux
|
||||
|
||||
# disabled for now
|
||||
exit
|
||||
|
||||
# clean cached state
|
||||
bhyvectl --destroy --vm=r-windows
|
||||
|
||||
while true
|
||||
do
|
||||
|
||||
bhyve -c sockets=1,cores=2,threads=2 -m 16G -S -A -H -P \
|
||||
bhyve -c sockets=1,cores=2,threads=2 -m 8G -S -A -H -P \
|
||||
-s 0,hostbridge \
|
||||
-s 4,ahci-hd,/dev/zvol/ship/raw/r-windows,sectorsize=512 \
|
||||
-s 5,virtio-net,tap85,mac=00:0A:0B:0C:0D:85 \
|
||||
|
@ -22,6 +22,7 @@ bhyve -c 8 -m 16G -A -H -P \
|
||||
-s 4,virtio-blk,/dev/zvol/ship/raw/ubuntu \
|
||||
-s 5,virtio-net,tap82,mac=00:0A:0B:0C:0D:82 \
|
||||
-s 6,virtio-blk,/dev/zvol/ship/raw/ubuntu_data \
|
||||
-s 7,virtio-net,tap4882,mac=00:0A:0B:0C:7D:82 \
|
||||
-s 8,virtio-net,tap1082,mac=00:0A:0B:0C:8D:82 \
|
||||
-s 9,virtio-net,tap2082,mac=00:0A:0B:0C:9D:82 \
|
||||
-s 29,fbuf,tcp=0.0.0.0:5982,w=1600,h=900 \
|
||||
@ -59,12 +60,3 @@ exit $?
|
||||
#on base system:
|
||||
#zfs create -V 32G -o refreservation=none ship/raw/ubuntu
|
||||
#zfs create -V 128G -o refreservation=none ship/raw/ubuntu_data
|
||||
# on boot
|
||||
#ifconfig tap82 create
|
||||
#ifconfig bridge1 addm tap82 up
|
||||
#ifconfig tap82 up
|
||||
#ifconfig tap82 inet6 auto_linklocal
|
||||
#ifconfig tap1082 create
|
||||
#ifconfig bridge10 addm tap1082 up
|
||||
#ifconfig tap1082 up
|
||||
#ifconfig tap1082 inet6 auto_linklocal
|
||||
|
@ -16,7 +16,7 @@ bhyvectl --destroy --vm=windows
|
||||
while true
|
||||
do
|
||||
|
||||
bhyve -c sockets=1,cores=2,threads=2 -m 16G -S -A -H -P \
|
||||
bhyve -c sockets=1,cores=2,threads=2 -m 8G -S -A -H -P \
|
||||
-s 0,hostbridge \
|
||||
-s 4,ahci-hd,/dev/zvol/ship/raw/windows,sectorsize=512 \
|
||||
-s 5,virtio-net,tap81,mac=00:0A:0B:0C:0D:81 \
|
||||
|
Reference in New Issue
Block a user