Update init_without_docker.sh
This commit is contained in:
parent
e42b525394
commit
79a1024e29
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
|||
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
|
||||
|
||||
newpassword=$1
|
||||
echo $newpassword |passwd --stdin fastuser
|
||||
# echo $newpassword |passwd --stdin fastuser
|
||||
echo "fastuser:$newpassword" | chpasswd
|
||||
|
||||
sed -i '/172.17.0.1/d' /etc/nginx/conf.d/parking.conf
|
||||
internal_ip=$(ip addr show dev eth0|grep inet |grep eth0|cut -d/ -f1|cut -d" " -f6)
|
||||
|
|
Loading…
Add table
Reference in a new issue