面料密码 [英] fabric password
本文介绍了面料密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
每次运行Fabric时,它都会要求输入root密码,是否可以将其发送给它以进行自动提议.
Every time fabric runs, it asks for root password, can it be sent along same for automated proposes.
fab staging test
推荐答案
fab -h
will show you all the options, you can also read them here.
特别是,我引用
-p PASSWORD,--password = PASSWORD
-p PASSWORD, --password=PASSWORD
将env.password设置为给定的字符串; 然后它将用作默认值 建立SSH连接时的密码 或调用sudo程序.
Sets env.password to the given string; it will then be used as the default password when making SSH connections or calling the sudo program.
这篇关于面料密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文