Show the ip of a vm created by Vagrantfile
Change-Id: I597896d5080d1da7ce117139b0dba6ab32b0a3f2
This commit is contained in:
parent
864bc9da32
commit
a8c1989896
3
contrib/Vagrantfile
vendored
3
contrib/Vagrantfile
vendored
@ -21,4 +21,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||||||
config.vm.provision :shell, :inline => "surveil-init --influxdb"
|
config.vm.provision :shell, :inline => "surveil-init --influxdb"
|
||||||
config.vm.provision :shell, :inline => "surveil-webui-init -H localhost -U root -P root -p 8086 -g 'http://localhost:3000/grafana'"
|
config.vm.provision :shell, :inline => "surveil-webui-init -H localhost -U root -P root -p 8086 -g 'http://localhost:3000/grafana'"
|
||||||
|
|
||||||
|
# Show IP
|
||||||
|
config.vm.provision :shell, :inline => "ip addr | grep 'inet 192.168.'"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user