def disable_tty1_getty(path):
    """Add a symlink masking the systemd tty1 generator"""
    os.makedirs(path + "/etc/systemd/system/getty.target.wants")
    os.symlink("/dev/null", path + "/etc/systemd/system/getty.target.wants/getty@tty1.service")