canonical-hw-cert team mailing list archive
-
canonical-hw-cert team
-
Mailing list archive
-
Message #236287
[Merge] ~kevinyeh/cc-tool-box:add-unmatched into cc-tool-box:master
Kevin Yeh has proposed merging ~kevinyeh/cc-tool-box:add-unmatched into cc-tool-box:master.
Commit message:
Add: add a customized agent config for unmatched.
Requested reviews:
Canonical Hardware Certification (canonical-hw-cert)
For more details, see:
https://code.launchpad.net/~kevinyeh/cc-tool-box/+git/cc-tool-box/+merge/464169
--
Your team Canonical Hardware Certification is requested to review the proposed merge of ~kevinyeh/cc-tool-box:add-unmatched into cc-tool-box:master.
diff --git a/config/cc_lab_manager/device_config_maptable.py b/config/cc_lab_manager/device_config_maptable.py
index e9c13c1..c60e395 100644
--- a/config/cc_lab_manager/device_config_maptable.py
+++ b/config/cc_lab_manager/device_config_maptable.py
@@ -152,6 +152,16 @@ agent_config_platform_maptable = {
'recovery_cmds': [
'echo 5 | sudo tee /sys/class/tpm/tpm0/ppi/request',
'sudo snap reboot --install']
+ },
+ 'unmatched': {
+ 'test_device': '/dev/sda'
+ 'reboot_script': [
+ 'ssh ubuntu@{Controller_IP} stm -dyper1 on',
+ 'sleep 5'
+ 'ssh ubuntu@{Controller_IP} stm -dyper1 off',
+ 'sleep 10'
+ 'ssh ubuntu@{Controller_IP} stm -dyper1 on',
+ 'ssh ubuntu@{Controller_IP} stm -dyper1 off']
}
}