mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
configure smb storage when enabled
This commit is contained in:
parent
9eed1b9eda
commit
1d0ca1d5ef
1 changed files with 10 additions and 0 deletions
|
|
@ -81,4 +81,14 @@ impl ServiceTrait for Smb {
|
|||
async fn is_healthy(&self, _docker: &Docker, _cloud_id: &str) -> Result<bool> {
|
||||
Ok(true)
|
||||
}
|
||||
|
||||
async fn post_setup(&self, _docker: &Docker, _cloud_id: &str) -> Result<Vec<String>> {
|
||||
Ok(vec![
|
||||
"occ files_external:create smb smb password::password".into(),
|
||||
"occ files_external:config 1 host smb".into(),
|
||||
"occ files_external:config 1 user test".into(),
|
||||
"occ files_external:config 1 password test".into(),
|
||||
"occ files_external:config 1 share test".into(),
|
||||
])
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue