diff --git a/module/zahost/css/init.css b/module/zahost/css/init.css
index adb9649d82..354f2c7e14 100644
--- a/module/zahost/css/init.css
+++ b/module/zahost/css/init.css
@@ -14,3 +14,6 @@
margin-left: 20px;
min-width: 100px;
}
+.zahost-init-desc{
+ display: inline-block;
+}
\ No newline at end of file
diff --git a/module/zahost/lang/de.php b/module/zahost/lang/de.php
index ed905d6b09..d03409472f 100644
--- a/module/zahost/lang/de.php
+++ b/module/zahost/lang/de.php
@@ -61,7 +61,7 @@ $lang->zahost->init->serviceStatus = [
];
$lang->zahost->init->title = "Initialize Host";
$lang->zahost->init->descTitle = "Follow these steps to complete the initialization on the host:";
-$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k ";
+$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k %s
- Click check service status button.";
$lang->zahost->init->statusTitle = "Service Status";
$lang->zahost->image = new stdclass;
diff --git a/module/zahost/lang/en.php b/module/zahost/lang/en.php
index ed905d6b09..d03409472f 100644
--- a/module/zahost/lang/en.php
+++ b/module/zahost/lang/en.php
@@ -61,7 +61,7 @@ $lang->zahost->init->serviceStatus = [
];
$lang->zahost->init->title = "Initialize Host";
$lang->zahost->init->descTitle = "Follow these steps to complete the initialization on the host:";
-$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k ";
+$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k %s
- Click check service status button.";
$lang->zahost->init->statusTitle = "Service Status";
$lang->zahost->image = new stdclass;
diff --git a/module/zahost/lang/fr.php b/module/zahost/lang/fr.php
index fdba9f2d53..e8c069ca22 100644
--- a/module/zahost/lang/fr.php
+++ b/module/zahost/lang/fr.php
@@ -61,7 +61,7 @@ $lang->zahost->init->serviceStatus = [
];
$lang->zahost->init->title = "Initialize Host";
$lang->zahost->init->descTitle = "Follow these steps to complete the initialization on the host:";
-$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k ";
+$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k %s
- Click check service status button.";
$lang->zahost->init->statusTitle = "Service Status";
$lang->zahost->image = new stdclass;
diff --git a/module/zahost/lang/vi.php b/module/zahost/lang/vi.php
index c947fbbfbd..dc9e2ab69e 100644
--- a/module/zahost/lang/vi.php
+++ b/module/zahost/lang/vi.php
@@ -53,7 +53,7 @@ $lang->zahost->init->ready = "Ready";
$lang->zahost->init->next = "Next";
$lang->zahost->init->initSuccessNotice = "The initialization was successful, click Next to complete the next steps.";
-$lang->zahost->init->initFailNoticeTitle = "Initialization failed, check the init script execution log and try the following two solutions:";
+$lang->zahost->init->initDesc = "Execute the init script on the host: bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k %s
- Click check service status button.";
$lang->zahost->init->initFailNoticeDesc = "1. Re-execute the script
2. Review the initialization FAQ";
$lang->zahost->init->serviceStatus = [
diff --git a/module/zahost/lang/zh-cn.php b/module/zahost/lang/zh-cn.php
index e4361fef79..75fa49327c 100644
--- a/module/zahost/lang/zh-cn.php
+++ b/module/zahost/lang/zh-cn.php
@@ -61,7 +61,7 @@ $lang->zahost->init->serviceStatus = [
];
$lang->zahost->init->title = "初始化宿主机";
$lang->zahost->init->descTitle = "请根据引导完成宿主机上的初始化: ";
-$lang->zahost->init->initDesc = "1. 在宿主机上执行:bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k ";
+$lang->zahost->init->initDesc = "- 在宿主机上执行命令:bash <(curl -s -S -L https://pkg.qucheng.com/zenagent/zagent.sh) -k %s
- 点击检测服务状态。";
$lang->zahost->init->statusTitle = "服务状态";
$lang->zahost->image = new stdclass;
diff --git a/module/zahost/model.php b/module/zahost/model.php
index e6519fdcf8..005a45c103 100644
--- a/module/zahost/model.php
+++ b/module/zahost/model.php
@@ -33,6 +33,7 @@ class zahostModel extends model
{
$hostInfo = fixer::input('post')
->setDefault('cpuNumber,cpuCores,diskSize,memory', 0)
+ ->trim('extranet')
->get();
$this->dao->table = 'zahost';
diff --git a/module/zahost/view/browse.html.php b/module/zahost/view/browse.html.php
index 1aef95664b..e974f9d4c8 100644
--- a/module/zahost/view/browse.html.php
+++ b/module/zahost/view/browse.html.php
@@ -74,7 +74,7 @@
hostID}", $host, 'list');?>
createLink('zahost', 'delete', "hostID={$host->id}"), '', 'hiddenwin', "title='$title' class='btn $disabled'");;?>
hostID}", $host, 'list', 'file', '', 'iframe', true, "data-width='60%'", $lang->zahost->image->list);?>
- hostID}", $host, 'list', 'info', '', ' init', false, "data-placement='bottom'", $lang->zahost->init->title);?>
+ hostID}", $host, 'list', 'refresh', '', ' init', false, "data-placement='bottom'", $lang->zahost->init->title);?>
diff --git a/module/zahost/view/browseimage.html.php b/module/zahost/view/browseimage.html.php
index 9c38331201..dffb83fdbc 100755
--- a/module/zahost/view/browseimage.html.php
+++ b/module/zahost/view/browseimage.html.php
@@ -49,7 +49,7 @@