From 2b6f53105263ad341f0b00314a94a54a1485f37d Mon Sep 17 00:00:00 2001 From: Jim Rollenhagen Date: Fri, 28 Mar 2014 09:52:41 -0700 Subject: [PATCH] Remove advertise-host from service file The regex used is environment-specific, let's just not pass this argument for now (it's optional). Change-Id: Ia5194ecbb7ec5425ee902338631559f8415308f2 --- imagebuild/coreos/oem/system/ironic-python-agent.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagebuild/coreos/oem/system/ironic-python-agent.service b/imagebuild/coreos/oem/system/ironic-python-agent.service index c15b9e6bc..355fa9b4d 100644 --- a/imagebuild/coreos/oem/system/ironic-python-agent.service +++ b/imagebuild/coreos/oem/system/ironic-python-agent.service @@ -1,5 +1,5 @@ [Service] -ExecStart=/usr/bin/docker run -p 9999:9999 -privileged=true -v=/sys:/mnt/sys oemdocker /usr/local/bin/ironic-python-agent --ipaddr="`ip a | grep '10\.' | sed -e 's/inet \(10\.[0-9\.]\+\).*/\1/'`" +ExecStart=/usr/bin/docker run -p 9999:9999 -privileged=true -v=/sys:/mnt/sys oemdocker /usr/local/bin/ironic-python-agent Restart=always [Install]