import getpass


def prompt_for_password(hostname):
    """Prompt the operator to interactively enter the disk encryption password."""
    prompt_text = "Enter disk encryption password for '%s': "
    return getpass.getpass(prompt_text % hostname)