preflight not passing arguments to subprocess
Closed this issue · 2 comments
thomasbergmann commented
Hi Graham,
I´m still using the munki-webadmin preflight script for getting new server and client manifest settings as described here:
https://code.google.com/p/munki/wiki/WPKGlikeDynamicManifestsWithoutCGI
https://code.google.com/p/munki/wiki/DynamicClientConfigurationsViaPreflightScripting
But your preflight isn´t passing arguments to scripts located at preflight.d. I changed it to:
subprocess.call([os.path.join(preflight_dir, script),
sys.argv[1]],
stdin=None)
Best,
Thomas
grahamgilbert commented
Hi,
Would you be able to do a pull request with your changes?
thomasbergmann commented
I´m new to Github, but will find out how it works... ;)