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]