summaryrefslogtreecommitdiffstats
path: root/modules/base
diff options
context:
space:
mode:
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/templates/hosts8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/base/templates/hosts b/modules/base/templates/hosts
index 1ef790d..52ede8b 100644
--- a/modules/base/templates/hosts
+++ b/modules/base/templates/hosts
@@ -1,8 +1,6 @@
127.0.0.1 localhost
127.0.1.1 <%= @hostname %>.localdomain <%= @hostname %>
-10.19.49.3 hush.algo
-10.19.49.4 partofme.algo
-10.19.49.5 phone.algo
-10.19.49.6 tozt.algo
-10.19.49.7 mail.algo
+<% @vpn_ips.each do |hostname, ip| %>
+<%= ip %> <%= hostname %>.algo
+<% end %>