mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
network interface definition example indentation
Match indentation for consistency with all other code examples
This commit is contained in:
parent
5ed8a2a4f2
commit
b48d0b3e5b
22
README.md
22
README.md
@ -302,26 +302,26 @@ An examples of network interface definitions:
|
|||||||
# Guest 1
|
# Guest 1
|
||||||
config.vm.define :test_vm1 do |test_vm1|
|
config.vm.define :test_vm1 do |test_vm1|
|
||||||
test_vm1.vm.network :private_network,
|
test_vm1.vm.network :private_network,
|
||||||
:libvirt__tunnel_type => 'server',
|
:libvirt__tunnel_type => 'server',
|
||||||
# default is 127.0.0.1 if omitted
|
# default is 127.0.0.1 if omitted
|
||||||
# :libvirt__tunnel_ip => '127.0.0.1',
|
# :libvirt__tunnel_ip => '127.0.0.1',
|
||||||
:libvirt__tunnel_port => '11111'
|
:libvirt__tunnel_port => '11111'
|
||||||
|
|
||||||
# Guest 2
|
# Guest 2
|
||||||
config.vm.define :test_vm2 do |test_vm2|
|
config.vm.define :test_vm2 do |test_vm2|
|
||||||
test_vm2.vm.network :private_network,
|
test_vm2.vm.network :private_network,
|
||||||
:libvirt__tunnel_type => 'client',
|
:libvirt__tunnel_type => 'client',
|
||||||
# default is 127.0.0.1 if omitted
|
# default is 127.0.0.1 if omitted
|
||||||
# :libvirt__tunnel_ip => '127.0.0.1',
|
# :libvirt__tunnel_ip => '127.0.0.1',
|
||||||
:libvirt__tunnel_port => '11111'
|
:libvirt__tunnel_port => '11111'
|
||||||
|
|
||||||
|
|
||||||
# Public Network
|
# Public Network
|
||||||
config.vm.define :test_vm1 do |test_vm1|
|
config.vm.define :test_vm1 do |test_vm1|
|
||||||
test_vm1.vm.network :public_network,
|
test_vm1.vm.network :public_network,
|
||||||
:dev => "virbr0",
|
:dev => "virbr0",
|
||||||
:mode => "bridge",
|
:mode => "bridge",
|
||||||
:type => "bridge"
|
:type => "bridge"
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user