diff --git a/post_install.sh b/post_install.sh index 1f66a0d..4872d55 100755 --- a/post_install.sh +++ b/post_install.sh @@ -53,7 +53,7 @@ mv wp-cli.phar /usr/local/bin/wp USER="dbadmin" DB="wordpress" WPUSER="wpadmin" -IPADDR=`ifconfig epair0b | awk '/inet/ {gsub("addr:", "", $2); print $2}'` +IPADDR=`ifconfig epair0b | awk '/inet / {gsub("addr:", "", $2); print $2}'` # Save the config values echo "$DB" > /root/dbname