From f13e6e0a20487789dbe83dc775e399ea224a9297 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@private.storage>
Date: Fri, 18 Jun 2021 06:16:25 +0000
Subject: [PATCH] Also replace host names in Vagrantfile and README.rst

---
 morph/grid/local/README.rst  | 2 +-
 morph/grid/local/Vagrantfile | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/morph/grid/local/README.rst b/morph/grid/local/README.rst
index 59f032a0..b325b13b 100644
--- a/morph/grid/local/README.rst
+++ b/morph/grid/local/README.rst
@@ -35,7 +35,7 @@ Use the local development environment
 
 5. Edit the generated configuration: Add the ``publicIP`` addresses from ``grid.nix`` to ssh config **Host** match blocks (**not** HostName) so the ``Host`` lines all read like::
 
-    Host payments1 192.168.67.21
+    Host payments 192.168.67.21
       HostName 127.0.0.1
       User vagrant
       [...]
diff --git a/morph/grid/local/Vagrantfile b/morph/grid/local/Vagrantfile
index 82bbef10..7ad95ca8 100644
--- a/morph/grid/local/Vagrantfile
+++ b/morph/grid/local/Vagrantfile
@@ -8,8 +8,8 @@ Vagrant.configure("2") do |config|
   # For a complete reference, please see the online documentation at
   # https://docs.vagrantup.com.
 
-  config.vm.define "payments1" do |config|
-    config.vm.hostname = "payments1"
+  config.vm.define "payments" do |config|
+    config.vm.hostname = "payments"
     config.vm.box = "esselius/nixos"
     config.vm.box_version = "20.09"
     config.vm.box_check_update = false
@@ -36,8 +36,8 @@ Vagrant.configure("2") do |config|
     config.vm.network "private_network", ip: "192.168.67.23"
   end
 
-  config.vm.define "monitoring1" do |config|
-    config.vm.hostname = "monitoring1"
+  config.vm.define "monitoring" do |config|
+    config.vm.hostname = "monitoring"
     config.vm.box = "esselius/nixos"
     config.vm.box_version = "20.09"
     config.vm.box_check_update = false
-- 
GitLab