Auto Commit

上级 7206a329
......@@ -29,6 +29,7 @@ if user_input != '':
if os_name == 'CentOS':
subprocess.call(['yum', 'install', '-y', 'bind-utils'])
elif os_name == 'Ubuntu':
subprocess.call(['apt-get', 'update'])
subprocess.call(['apt-get', 'install', '-y', 'dnsutils'])
else:
print('Unknown operating system')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册