|
|
@ -86,7 +86,7 @@ class GamesService
|
|
|
|
if res && res['code'].to_i != 0
|
|
|
|
if res && res['code'].to_i != 0
|
|
|
|
raise("实训云平台繁忙(繁忙等级:99)")
|
|
|
|
raise("实训云平台繁忙(繁忙等级:99)")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
url = service_host +":#{res['port']}/vnc_lite.html"
|
|
|
|
url = service_host +":#{res['port']}/vnc_lite.html?password=headless"
|
|
|
|
Rails.logger.info("66666666sssssss#{url}")
|
|
|
|
Rails.logger.info("66666666sssssss#{url}")
|
|
|
|
container = container.merge(:vnc_url => url)
|
|
|
|
container = container.merge(:vnc_url => url)
|
|
|
|
Rails.logger.info("777777666sssssss#{container}")
|
|
|
|
Rails.logger.info("777777666sssssss#{container}")
|
|
|
|