Skip to content

Commit d3a5fb6

Browse files
menli820kostyanf14
authored andcommitted
Update "studio_password" to "windows_password"
Update "studio_password" to "windows_password" as it is not really studio password. This is password for both Studio and Clients. Signed-off-by: menli <menli@redhat.com>
1 parent 869221d commit d3a5fb6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"workspace_path": "/home/hck-ci/HCK-CI/workspace",
55
"winrm_port": 5985,
66
"repository": "virtio-win/kvm-guest-drivers-windows",
7-
"studio_username": "Administrator",
8-
"studio_password": "Qum5net.",
7+
"windows_username": "Administrator",
8+
"windows_password": "Qum5net.",
99
"result_uploaders": [ ],
1010
"test_engine": "hcktest",
1111
"install_engine": "hckinstall",

lib/engines/hckinstall/hckinstall.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def prepare_studio_drives
339339
'@PRODUCT_KEY@' => product_key,
340340
'@PRODUCT_KEY_XML@' => product_key_xml(product_key),
341341
'@HOST_TYPE@' => 'studio',
342-
'@DEFAULT_PASSWORD@' => @project.config['studio_password']
342+
'@DEFAULT_PASSWORD@' => @project.config['windows_password']
343343
}
344344
@answer_files.each do |file|
345345
file_gsub(build_studio_answer_file_path(file),
@@ -366,7 +366,7 @@ def prepare_client_drives
366366
'@PRODUCT_KEY@' => product_key,
367367
'@PRODUCT_KEY_XML@' => product_key_xml(product_key),
368368
'@HOST_TYPE@' => 'client',
369-
'@DEFAULT_PASSWORD@' => @project.config['studio_password']
369+
'@DEFAULT_PASSWORD@' => @project.config['windows_password']
370370
}
371371
@answer_files.each do |file|
372372
file_gsub(build_client_answer_file_path(file),

lib/engines/hcktest/tools.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ def initialize(project, ip_addr, clients)
1212
@config = project.config
1313
@clients = clients
1414
connect(addr: ip_addr,
15-
user: @config['studio_username'],
16-
pass: @config['studio_password'],
15+
user: @config['windows_username'],
16+
pass: @config['windows_password'],
1717
winrm_ports: config_winrm_ports,
1818
timeout: 120,
1919
logger: @logger,

0 commit comments

Comments
 (0)