Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[HOLMES] Fixed the Daily Healchcheck Problem
[oom.git]
/
docs
/
openstack-nfs-server.sh
diff --git
a/docs/openstack-nfs-server.sh
b/docs/openstack-nfs-server.sh
index
1db04ea
..
395d04f
100644
(file)
--- a/
docs/openstack-nfs-server.sh
+++ b/
docs/openstack-nfs-server.sh
@@
-1,11
+1,11
@@
-#!/bin/
ba
sh
+#!/bin/sh
apt-get update
apt-get update
-IP_ADDR=
`ip address |grep ens|grep inet|awk '{print $2}'| awk -F / '{print $1}'`
-HOST
NAME=`hostname`
+IP_ADDR=
$(ip address |grep ens|grep inet|awk '{print $2}'| awk -F / '{print $1}')
+HOST
_NAME=$(hostname)
-echo "$IP_ADDR $HOSTNAME" >> /etc/hosts
+echo "$IP_ADDR $HOST
_
NAME" >> /etc/hosts
sudo apt-get install make -y
sudo apt-get install make -y