X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fremote-installer.git;a=blobdiff_plain;f=src%2Fremoteinstaller%2Finstaller%2Fcatfile.py;fp=src%2Fremoteinstaller%2Finstaller%2Fcatfile.py;h=9e2010e4df9cc703345bd45ccba8737289479c72;hp=e5d2147372e8e5a6cd2636eba1c3560a6729d01f;hb=f38c513dbecca841726958c420cd211234eec865;hpb=3b665c4c4524f586c291935265a8613c8fe9c982 diff --git a/src/remoteinstaller/installer/catfile.py b/src/remoteinstaller/installer/catfile.py index e5d2147..9e2010e 100644 --- a/src/remoteinstaller/installer/catfile.py +++ b/src/remoteinstaller/installer/catfile.py @@ -21,7 +21,7 @@ class CatFileException(Exception): pass class CatFile(object): - def __init__(self, bmc_host, bmc_user, bmc_password, bmc_priv_level='ADMINISTRATOR', login_user, login_password): + def __init__(self, bmc_host, bmc_user, bmc_password, bmc_priv_level, login_user, login_password): self._host = bmc_host self._user = bmc_user self._password = bmc_password @@ -128,7 +128,7 @@ def main(): logging.basicConfig(level=logging.DEBUG) - cat_file = CatFile(args.bmc_host, args.bmc_user, args.bmc_password, args.user, bmc_priv_level, args.password) + cat_file = CatFile(args.bmc_host, args.bmc_user, args.bmc_password, args.bmc_priv_level, args.user, args.password) cat_file.cat(args.file, args.output_file, args.password) if __name__ == "__main__":