[Fusionforge-commits] r12862 - trunk/tests/lxc

Christian Bayle cbayle at fusionforge.org
Mon Mar 21 14:25:45 CET 2011


Author: cbayle
Date: 2011-03-21 14:25:44 +0100 (Mon, 21 Mar 2011)
New Revision: 12862

Modified:
   trunk/tests/lxc/lxc-centos5.postinst
   trunk/tests/lxc/lxc-debian6.postinst
Log:
fix getopt


Modified: trunk/tests/lxc/lxc-centos5.postinst
===================================================================
--- trunk/tests/lxc/lxc-centos5.postinst	2011-03-20 19:28:03 UTC (rev 12861)
+++ trunk/tests/lxc/lxc-centos5.postinst	2011-03-21 13:25:44 UTC (rev 12862)
@@ -104,7 +104,7 @@
     return 0
 }
 
-options=$(getopt -o hp:n:c -l help,path:,name:,clean:,address,netmask,gateway,pubkey: -- "$@")
+options=$(getopt -o hp:n:c -l help,path:,name:,clean:,address:,netmask:,gateway:,pubkey: -- "$@")
 if [ $? -ne 0 ]; then
         usage $(basename $0)
         exit 1

Modified: trunk/tests/lxc/lxc-debian6.postinst
===================================================================
--- trunk/tests/lxc/lxc-debian6.postinst	2011-03-20 19:28:03 UTC (rev 12861)
+++ trunk/tests/lxc/lxc-debian6.postinst	2011-03-21 13:25:44 UTC (rev 12862)
@@ -86,7 +86,7 @@
     return 0
 }
 
-options=$(getopt -o hp:n:c -l help,path:,name:,clean:,address,netmask,gateway,pubkey: -- "$@")
+options=$(getopt -o hp:n:c -l help,path:,name:,clean:,address:,netmask:,gateway:,pubkey: -- "$@")
 if [ $? -ne 0 ]; then
         usage $(basename $0)
         exit 1




More information about the Fusionforge-commits mailing list