Skip to content

Commit 869221d

Browse files
menli820kostyanf14
authored andcommitted
Set a configurable client/server installation password
Set a configurable HLK-client and HLK-server installation password, default to 'Assentor01'. Signed-off-by: menli <menli@redhat.com>
1 parent f007c84 commit 869221d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/engines/hckinstall/hckinstall.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ def prepare_studio_drives
338338
'@WINDOWS_IMAGE_NAME@' => @studio_iso_info['studio']['windows_image_names'],
339339
'@PRODUCT_KEY@' => product_key,
340340
'@PRODUCT_KEY_XML@' => product_key_xml(product_key),
341-
'@HOST_TYPE@' => 'studio'
341+
'@HOST_TYPE@' => 'studio',
342+
'@DEFAULT_PASSWORD@' => @project.config['studio_password']
342343
}
343344
@answer_files.each do |file|
344345
file_gsub(build_studio_answer_file_path(file),
@@ -364,7 +365,8 @@ def prepare_client_drives
364365
'@WINDOWS_IMAGE_NAME@' => @client_iso_info['client']['windows_image_names'],
365366
'@PRODUCT_KEY@' => product_key,
366367
'@PRODUCT_KEY_XML@' => product_key_xml(product_key),
367-
'@HOST_TYPE@' => 'client'
368+
'@HOST_TYPE@' => 'client',
369+
'@DEFAULT_PASSWORD@' => @project.config['studio_password']
368370
}
369371
@answer_files.each do |file|
370372
file_gsub(build_client_answer_file_path(file),

0 commit comments

Comments
 (0)