projects
/
invirt/packages/invirt-remote.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bug #349789:script to print error of not vm name
[invirt/packages/invirt-remote.git]
/
server
/
usr
/
sbin
/
invirt-remote-vminvalid
1
#!/usr/bin/python
2
"""
3
Returns an error when someone enters an invalid vm name.
4
"""
5
import sys
6
7
8
9
10
def main(args):
11
print 'Machine Name' + args[0] + 'does not exist'
12
return 0
13
14
15
if __name__ == '__main__':
16
sys.exit(main(sys.argv[1:]))
17
18
# vim:et:sw=4:ts=4