Isolate guest with inetmock
This commit is contained in:
parent
ee7f42e619
commit
2d58de8ba4
2 changed files with 5 additions and 1 deletions
4
vagrant-libvirt/Vagrantfile
vendored
4
vagrant-libvirt/Vagrantfile
vendored
|
@ -6,6 +6,10 @@ Vagrant.configure("2") do |config|
|
|||
config.vm.box = "peru/windows-10-enterprise-x64-eval"
|
||||
config.vm.box_version = "20210222.01"
|
||||
|
||||
config.vm.provider "libvirt" do |libvirt|
|
||||
libvirt.management_network_mode = 'veryisoled'
|
||||
end
|
||||
|
||||
config.vm.define :win_victim do |win_victim|
|
||||
win_victim.vm.network :private_network,
|
||||
:libvirt__network_name => "inetmock"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<name>inetmock</name>
|
||||
<bridge name='im0' stp='on' delay='0'/>
|
||||
<mac address='BA:84:82:C5:AE:56'/>
|
||||
<ip address='172.25.10.5' netmask='255.255.255.0'>
|
||||
<ip address="172.25.10.5" netmask="255.255.255.0">
|
||||
<dhcp>
|
||||
<range start='172.25.10.100' end='172.25.10.150'/>
|
||||
</dhcp>
|
||||
|
|
Loading…
Reference in a new issue