Changelog: https://roxy-wi.org/changelog#6_3_1
pull/355/head
Pavel Loginov 2022-12-08 10:07:05 +03:00
parent 729df72f11
commit fda5deaf97
2 changed files with 17 additions and 17 deletions

View File

@ -103,7 +103,7 @@ def get_system_info(server_ip: str) -> str:
command = ["sudo lshw -quiet -json"]
try:
sys_info_returned = ssh_command(server_ip, command)
sys_info_returned = ssh_command(server_ip, command, timeout=5)
except Exception as e:
raise e
command = ['sudo hostnamectl |grep "Operating System"|awk -F":" \'{print $2}\'']

View File

@ -1367,7 +1367,7 @@ function removeOption(id) {
type: "POST",
success: function( data ) {
data = data.replace(/\s+/g,' ');
if(data == "Ok ") {
if(data.indexOf('Ok') != '-1') {
$("#option-"+id).remove();
}
}