Remove --silient-upload option, which is invalid
Python-glanceclient removed the --silent-upload some time ago (I believe when the client was split out from Glance itself). It's no longer valid and needs to be removed. Otherwise users will see an error of the form: glance: error: unrecognized arguments: --silent-upload Change-Id: I417688872bd8e7c4bac7be13d0b0eb13a030fe29
This commit is contained in:
parent
67790ef1d4
commit
986dfaa3c0
|
@ -90,7 +90,7 @@ class Puppet::Provider::Glance < Puppet::Provider
|
|||
def self.auth_glance_stdin(*args)
|
||||
begin
|
||||
g = glance_credentials
|
||||
command = "glance --silent-upload -T #{g['admin_tenant_name']} -I #{g['admin_user']} -K #{g['admin_password']} -N #{auth_endpoint} #{args.join(' ')}"
|
||||
command = "glance -T #{g['admin_tenant_name']} -I #{g['admin_user']} -K #{g['admin_password']} -N #{auth_endpoint} #{args.join(' ')}"
|
||||
|
||||
# This is a horrible, horrible hack
|
||||
# Redirect stderr to stdout in order to report errors
|
||||
|
|
Loading…
Reference in New Issue