Skip to content

Commit

Permalink
Update configure.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sg4r authored Mar 23, 2022
1 parent c6d3747 commit 86fdc59
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions configure.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#!/bin/sh

if ! grep -q 192.168.0.10 /etc/hosts; then
if ! grep -q 192.168.111.10 /etc/hosts; then
cat >> /etc/hosts << EOF
192.168.0.10 cephclt
192.168.0.11 cn1
192.168.0.12 cn2
192.168.0.13 cn3
192.168.0.14 cn4
192.168.0.15 cnrgwha
192.168.0.16 cnrgw1
192.168.0.17 cnrgw2
192.168.111.10 cephclt
192.168.111.11 cn1
192.168.111.12 cn2
192.168.111.13 cn3
192.168.111.14 cn4
192.168.111.15 cnrgwha
192.168.111.16 cnrgw1
192.168.111.17 cnrgw2
EOF
fi

Expand Down

0 comments on commit 86fdc59

Please sign in to comment.