Does this replace or conflict with the recent fix that would run cloud-passwd-srvr in the VPC router?
On Fri, Sep 28, 2012 at 11:18 AM, Anthony Xu <[email protected]> wrote: > done > > -----Original Message----- > From: David Nalley [mailto:[email protected]] > Sent: Friday, September 28, 2012 7:36 AM > To: [email protected] > Cc: Anthony Xu > Subject: Re: [1/7] git commit: VPC : password server, start password server > when guest network is created > >> >> http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/b59c3 >> c88/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server >> ---------------------------------------------------------------------- >> diff --git >> a/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server >> b/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server >> new file mode 100755 >> index 0000000..2b9deb1 >> --- /dev/null >> +++ b/patches/systemvm/debian/config/opt/cloud/bin/vpc_passwd_server >> @@ -0,0 +1,13 @@ >> +#!/bin/bash >> + >> +ip=$1 >> +while [ -n "$ip" ] >> +do >> + socat -lf /var/log/cloud.log >> TCP4-LISTEN:8080,reuseaddr,crnl,bind=$ip >> SYSTEM:"/opt/cloud/bin/serve_password.sh" >> + rc=$? >> + if [ $rc -ne 0 ] >> + then >> + logger -t cloud "Password server failed with error code $rc. >> Restarting socat..." >> + sleep 3 >> + fi >> +done >> > > > > Anthony: > > Can you make sure the license header gets included in this bash script? It's > causing the RAT build to fail. > > --David
