[Spacewalk-list] spacecmd
Michael Mraka
michael.mraka at redhat.com
Tue Jul 30 09:24:51 UTC 2019
Ananta Chakravartula:
> I got spacewalk setup using chef and I run some spacecmd commands part of
> the recipe ( using execute resource), but chef-client fails with error
>
> ```
> chef-client[32220]: Spacewalk Password: ERROR:
> chef-client[32220]: Warning: Password input may be echoed.
> chef-client[32220]: passwd = fallback_getpass(prompt, stream)
> chef-client[32220]: /usr/lib64/python2.7/getpass.py:83: GetPassWarning:
> Can not control echo on the terminal.
> chef-client[32220]: Spacewalk Password: ERROR:```
> ```
>
> I do have ~/.spacecmd/config , but looks like spacecmd is looking for tty.
> It doesn't error when i run chef-client manually.
Hello Ananta,
You can specify user/password on command line:
$ spacecmd --user satuser --password satpwd ...
>
>
> Cheers,
> Ananta
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list