12
15
return str(subprocess.check_output(['pwgen', '-s', '16'])).strip()
24
subprocess.check_call(['add-apt-repository', '--yes', '--remove', prev_ppa])
15
32
def thruk_set_password(service_name):
16
33
passwd_file = "/var/lib/thruk/thrukadmin.passwd"
17
34
if not os.path.exists(passwd_file):