1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

link clouds to each other

This commit is contained in:
Robin Appelman 2021-08-13 16:05:17 +02:00
commit 55f6b18b69
3 changed files with 62 additions and 0 deletions

View file

@ -109,6 +109,20 @@ async fn main() -> Result<()> {
Option::<&mut Vec<u8>>::None,
)
.await?;
cloud
.exec_with_output(
&mut docker,
vec![
"occ",
"config:system:set",
"trusted_domains",
"3",
"--value",
&cloud.id,
],
Option::<&mut Vec<u8>>::None,
)
.await?;
for service in &cloud.services {
for app in service.apps() {
cloud