This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
from fedora.client import AccountSystem | |
from getpass import getpass | |
import sys | |
if len(sys.argv) != 2: | |
print "Usage: %s <country code>" % (sys.argv[0]) | |
sys.exit(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# != 2 ]; then | |
echo "usage: $0 <directory> <hostname>" | |
exit 1 | |
fi | |
if [ ! -d $1 ];then | |
mkdir -p $1 | |
fi |
NewerOlder