添加 keep_existing_name 参数以支持保留现有名称的选项
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
enable_cc_tls: true
|
||||
enable_keepalive: true
|
||||
enable_1gb_pages: true
|
||||
keep_existing_name: false
|
||||
|
||||
# 脚本URL
|
||||
install_script_url: "https://gitea.bcde.io/wangdefa/xxxig/raw/branch/main/script/install.deb.sh"
|
||||
@@ -27,6 +28,7 @@
|
||||
-o '{{ pool_url }}'
|
||||
{{ '--keepalive' if enable_keepalive else '' }}
|
||||
{{ '--1gb-pages' if enable_1gb_pages else '' }}
|
||||
{{ '--keep-name' if keep_existing_name else '' }}
|
||||
{{ '--tls' if enable_tls else '' }}
|
||||
{{ '--cc' if enable_cc else '' }}
|
||||
{{ '--cc-url ' + cc_url if enable_cc else '' }}
|
||||
|
||||
Reference in New Issue
Block a user