Add an HTTPS installer for the OPNsense agent and show its command in the WebUI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
//! the tenant's one-time enrollment token until the final enrollment consumes it.
|
||||
use super::*;
|
||||
mod starter;
|
||||
pub(super) mod opnsense;
|
||||
|
||||
pub(super) use starter::publish_missing as publish_starters;
|
||||
|
||||
@@ -135,7 +136,8 @@ pub(super) async fn issue(
|
||||
.await?;
|
||||
tx.commit().await?;
|
||||
Ok(private_json(
|
||||
json!({"token":token,"expires_at":expires,"bootstrap_origin":bootstrap_origin,"release_platforms":release_platforms}),
|
||||
json!({"token":token,"expires_at":expires,"bootstrap_origin":bootstrap_origin,"release_platforms":release_platforms,
|
||||
"opnsense_installer":opnsense::available()}),
|
||||
))
|
||||
}
|
||||
async fn token_tenant(s: &crate::State, h: &HeaderMap) -> Result<Uuid, Error> {
|
||||
|
||||
Reference in New Issue
Block a user