summaryrefslogtreecommitdiffstats
path: root/ipsilon/install
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-03-14 16:55:29 -0400
committerSimo Sorce <simo@redhat.com>2014-03-20 11:34:08 -0400
commit7efffe85403fbaa1335186b311ad7ac8ea19ad1e (patch)
treedda3220a8a09629b39e049219f591ba55bd21103 /ipsilon/install
parent8f6f3b2226d66a085fffa521dea1cf31c42e896f (diff)
downloadipsilon-7efffe85403fbaa1335186b311ad7ac8ea19ad1e.tar.gz
ipsilon-7efffe85403fbaa1335186b311ad7ac8ea19ad1e.tar.xz
ipsilon-7efffe85403fbaa1335186b311ad7ac8ea19ad1e.zip
First install script commit
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'ipsilon/install')
-rw-r--r--ipsilon/install/__init__.py0
-rwxr-xr-xipsilon/install/server.py34
2 files changed, 34 insertions, 0 deletions
diff --git a/ipsilon/install/__init__.py b/ipsilon/install/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ipsilon/install/__init__.py
diff --git a/ipsilon/install/server.py b/ipsilon/install/server.py
new file mode 100755
index 0000000..f5d06b6
--- /dev/null
+++ b/ipsilon/install/server.py
@@ -0,0 +1,34 @@
+#!/usr/bin/python
+#
+# Copyright (C) 2014 Simo Sorce <simo@redhat.com>
+#
+# see file 'COPYING' for use and warranty information
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+import argparse
+
+
+def parse_args():
+ parser = argparse.ArgumentParser(description='Ipsilon Install Options')
+ parser.add_argument('--version',
+ action='version', version='%(prog)s 0.1')
+
+ args = vars(parser.parse_args())
+
+ return args
+
+if __name__ == '__main__':
+ opts = parse_args()
+ print opts