Jelajahi Sumber

get the name I mean node right

Chris Mague 8 tahun lalu
induk
melakukan
f02c496a55
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      files/supervisord_consul

+ 1 - 1
files/supervisord_consul

@@ -1,5 +1,5 @@
 [program:consul]
-command=/bin/bash -c "/usr/local/bin/consul_cloud_setup && exec /opt/consul/bin/consul agent -config-dir=/opt/consul/etc -bind=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4` -name=`hostname`"
+command=/bin/bash -c "/usr/local/bin/consul_cloud_setup && exec /opt/consul/bin/consul agent -config-dir=/opt/consul/etc -bind=`curl -s http://169.254.169.254/latest/meta-data/local-ipv4` -node=`hostname`"
 directory=/tmp
 user=consul
 numprocs=1