Skip to content
Snippets Groups Projects
Commit 63c1d604 authored by Florian Sesser's avatar Florian Sesser
Browse files

Add monitoring host

parent d749f52f
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,14 @@ Vagrant.configure("2") do |config| ...@@ -32,6 +32,14 @@ Vagrant.configure("2") do |config|
config.vm.network "private_network", ip: "192.168.67.23" config.vm.network "private_network", ip: "192.168.67.23"
end end
config.vm.define "monitoring1" do |config|
config.vm.hostname = "monitoring1"
config.vm.box = "esselius/nixos"
config.vm.box_version = "20.09"
config.vm.box_check_update = false
config.vm.network "private_network", ip: "192.168.67.24"
end
# To make the VMs assign the static IPs to the network interfaces we need a rebuild: # To make the VMs assign the static IPs to the network interfaces we need a rebuild:
config.vm.provision "shell", inline: "echo '{nix.trustedUsers = [ \"@wheel\" \"root\" \"vagrant\" ];}' > /etc/nixos/custom-configuration.nix" config.vm.provision "shell", inline: "echo '{nix.trustedUsers = [ \"@wheel\" \"root\" \"vagrant\" ];}' > /etc/nixos/custom-configuration.nix"
config.vm.provision "shell", inline: "nixos-rebuild switch" config.vm.provision "shell", inline: "nixos-rebuild switch"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment