From fe0c2ef3f5156741bc1de2d8217805d13a2ecf0b Mon Sep 17 00:00:00 2001 From: edison Date: Wed, 22 Sep 2010 17:21:06 -0700 Subject: [PATCH] ip allocator must have a name ending with py. --- ...cloud-external-ipallocator => cloud-external-ipallocator.py} | 0 .../centos/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in | 2 +- .../fedora/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in | 2 +- .../ubuntu/SYSCONFDIR/init.d/cloud-external-ipallocator.in | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename python/bindir/{cloud-external-ipallocator => cloud-external-ipallocator.py} (100%) diff --git a/python/bindir/cloud-external-ipallocator b/python/bindir/cloud-external-ipallocator.py similarity index 100% rename from python/bindir/cloud-external-ipallocator rename to python/bindir/cloud-external-ipallocator.py diff --git a/python/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in b/python/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in index c5bea2ee37e..dca8f000904 100755 --- a/python/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in +++ b/python/distro/centos/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in @@ -20,7 +20,7 @@ PROGNAME="External IPAllocator" unset OPTIONS [ -r @SYSCONFDIR@/sysconfig/"$SHORTNAME" ] && source @SYSCONFDIR@/sysconfig/"$SHORTNAME" DAEMONIZE=@BINDIR@/@PACKAGE@-daemonize -PROG=@BINDIR@/@PACKAGE@-external-ipallocator +PROG=@BINDIR@/@PACKAGE@-external-ipallocator.py OPTIONS=8083 start() { diff --git a/python/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in b/python/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in index c7f5d501f6d..e0b6b613253 100755 --- a/python/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in +++ b/python/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-external-ipallocator.in @@ -20,7 +20,7 @@ PROGNAME="Cloud Agent" unset OPTIONS [ -r @SYSCONFDIR@/sysconfig/"$SHORTNAME" ] && source @SYSCONFDIR@/sysconfig/"$SHORTNAME" DAEMONIZE=@BINDIR@/@PACKAGE@-daemonize -PROG=@BINDIR@/@PACKAGE@-external-ipallocator +PROG=@BINDIR@/@PACKAGE@-external-ipallocator.py OPTIONS=8083 start() { diff --git a/python/distro/ubuntu/SYSCONFDIR/init.d/cloud-external-ipallocator.in b/python/distro/ubuntu/SYSCONFDIR/init.d/cloud-external-ipallocator.in index bd6af9c5831..0407f91943e 100755 --- a/python/distro/ubuntu/SYSCONFDIR/init.d/cloud-external-ipallocator.in +++ b/python/distro/ubuntu/SYSCONFDIR/init.d/cloud-external-ipallocator.in @@ -21,7 +21,7 @@ PROGNAME="Cloud Agent" unset OPTIONS [ -r @SYSCONFDIR@/default/"$SHORTNAME" ] && source @SYSCONFDIR@/default/"$SHORTNAME" DAEMONIZE=@BINDIR@/@PACKAGE@-daemonize -PROG=@BINDIR@/@PACKAGE@-external-ipallocator +PROG=@BINDIR@/@PACKAGE@-external-ipallocator.py OPTIONS=8083 start() {