From 52505d6fb34a9c540bec2abaa321ea9558877328 Mon Sep 17 00:00:00 2001 From: strNophix Date: Sat, 12 Feb 2022 16:54:58 +0100 Subject: [PATCH] Added static IP to customer0 --- customer0/Vagrantfile | 3 +++ customer0/inventory | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 customer0/inventory diff --git a/customer0/Vagrantfile b/customer0/Vagrantfile index d8f62cc..7363008 100644 --- a/customer0/Vagrantfile +++ b/customer0/Vagrantfile @@ -5,6 +5,9 @@ Vagrant.configure("2") do |config| config.vm.define "bloated-debian-web01" do |web01| web01.vm.box = "ubuntu/focal64" web01.vm.hostname = "bloated-debian-web01" + + web01.vm.network :private_network, ip: "192.168.56.11" + web01.vm.provision "file", source: "./.ssh/id_rsa.pub", destination: "~/.ssh/authorized_keys" web01.vm.provider "virtualbox" do |vb| vb.memory = "1024" diff --git a/customer0/inventory b/customer0/inventory new file mode 100644 index 0000000..57a7d1f --- /dev/null +++ b/customer0/inventory @@ -0,0 +1,2 @@ +[ubuntu] +192.168.56.11 \ No newline at end of file