mirror of
https://github.com/munki/munki.git
synced 2026-04-22 12:38:23 -05:00
Store verbosity level in environment variable
Pre- and post-flight scripts can use verbosity level from managedinstall
This commit is contained in:
@@ -549,7 +549,10 @@ def main():
|
||||
# set munkicommon globals
|
||||
munkicommon.munkistatusoutput = options.munkistatusoutput
|
||||
munkicommon.verbose = options.verbose
|
||||
|
||||
|
||||
# Set environment variable for verbosity
|
||||
os.environ['VERBOSE'] = str(options.verbose)
|
||||
|
||||
if options.installonly:
|
||||
# we're only installing, not checking, so we should copy
|
||||
# some report values from the prior run
|
||||
|
||||
Reference in New Issue
Block a user