--print-sysprep should be --print-syspreps
"authenticate against a cloud when "
"uploading/registering images")
"authenticate against a cloud when "
"uploading/registering images")
- parser.add_option("--print-sysprep", dest="print_sysprep", default=False,
+ parser.add_option("--print-syspreps", dest="print_syspreps", default=False,
help="print the enabled and disabled system preparation "
"operations for this input media", action="store_true")
help="print the enabled and disabled system preparation "
"operations for this input media", action="store_true")
options = parse_options(sys.argv[1:])
if options.outfile is None and not options.upload and not \
options = parse_options(sys.argv[1:])
if options.outfile is None and not options.upload and not \
- options.print_sysprep and not options.print_sysprep_params:
- raise FatalError("At least one of `-o', `-u', `--print-sysprep' or "
+ options.print_syspreps and not options.print_sysprep_params:
+ raise FatalError("At least one of `-o', `-u', `--print-syspreps' or "
"`--print-sysprep-params' must be set")
if options.silent:
"`--print-sysprep-params' must be set")
if options.silent:
for sysprep in options.enabled_syspreps:
image.os.enable_sysprep(image.os.get_sysprep_by_name(sysprep))
for sysprep in options.enabled_syspreps:
image.os.enable_sysprep(image.os.get_sysprep_by_name(sysprep))
- if options.print_sysprep:
+ if options.print_syspreps:
image.os.print_syspreps()
out.output()
image.os.print_syspreps()
out.output()
"""Install the appropriate KMS client setup key to the image to convert
it to a KMS client. Computers that are running volume licensing
editions of Windows 8, Windows Server 2012, Windows 7, Windows Server
"""Install the appropriate KMS client setup key to the image to convert
it to a KMS client. Computers that are running volume licensing
editions of Windows 8, Windows Server 2012, Windows 7, Windows Server
- 2008 R2, Windows Vista, and Windows Server 2008 are, by default, KMS
+ 2008 R2, Windows Vista, and Windows Server 2008 are by default KMS
clients with no additional configuration needed.
"""
try:
clients with no additional configuration needed.
"""
try: