allow-unauthenticated when done from local file

This commit is contained in:
Scott Moser 2015-03-27 17:03:59 -04:00
parent 5ad95ec6e3
commit a7b7a9349a

View File

@ -174,6 +174,7 @@ def render_snap_op(op, name, path=None, cfgfile=None, config=None):
if cfgfile:
cmd.append('--config=' + cfgfile)
if path:
cmd.append("--allow-unauthenticated")
cmd.append(path)
else:
cmd.append(name)