def METHOD_NAME():
    """ Inject SSH pubkey to Garden Linux image"""
    # Configure logger
    logging.basicConfig(format='%(asctime)s %(message)s',
                        datefmt='%Y-%m-%d %I:%M:', stream=sys.stdout, level=logging.DEBUG)
    # Configure argparse
    argparser = argparse.ArgumentParser(description='Inject SSH pubkey to image.')
    argparser.add_argument('-i', '--image', type=str, help='Path to image', required=True)
    argparser.add_argument('-k', '--key', type=str, help='Path to SSH pubkey', required=True)
    argparser.add_argument('-u', '--user', type=validate_user, help='PAM user account to use', required=True)
    argparser.add_argument('-d', '--homedir', type=str, help='PAM user account to use', default=None)
    argparser.add_argument('-t', '--type', type=str, choices=['raw', 'qcow2'], help='Image type [raw, qcow2]', default="raw")
    args = argparser.parse_args()
    image = shlex.quote(args.image)
    key = shlex.quote(args.key)
    user = args.user
    home = args.homedir
    type = args.type
    logging.info("Start injecting SSH pubkey to image...")
    # Validate if files are present
    test_files = [
                  image,
                  key
                 ]
    eval_files_present(test_files)
    # Validate if a custom homedir for a specific user is given
    if home is None:
        path_home = eval_user_path(user)
        logging.info(f"No custom home directory defined. Using: {path_home} for user {user}")
    else:
        path_home = shlex.quote(home)
        logging.info(f"Custom home directory defined. Using: {path_home} for user {user}")
    # Inject SSH pubkey into specific image type
    if type == "raw" or "qcow2":
        logging.info(f"Using image format: {type}")
        # Eveluate userid from image
        userid = raw_eval_userid(user,image)
        ssh_dir = raw_validate(image,path_home)
        raw_inject(image,path_home,user,key,ssh_dir,userid)
    logging.info("SSH pubkey sucessfully injected.")