fix: depend on Bitcoin Gateway configuration

Fix: https://github.com/ben-grande/qusal/issues/104
This commit is contained in:
Ben Grande 2024-10-24 11:34:32 +02:00
parent dbcef3d4ec
commit efe0fa6ac7
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56
6 changed files with 12 additions and 3 deletions

View File

@ -35,7 +35,7 @@ usage from ever connecting to the internet.
```sh
sudo qubesctl top.enable electrum
sudo qubesctl --targets=tpl-electrum-builder,tpl-electrum,disp-electrum-builder,electrum,electrum-hot state.apply
sudo qubesctl --targets=sys-bitcoin-gateway,tpl-electrum-builder,tpl-electrum,disp-electrum-builder,electrum,electrum-hot state.apply
sudo qubesctl top.disable electrum
sudo qubesctl state.apply electrum.appmenus
```
@ -46,6 +46,7 @@ sudo qubesctl state.apply electrum.appmenus
```sh
sudo qubesctl state.apply electrum.create
sudo qubesctl --skip-dom0 --targets=sys-bitcoin-gateway state.apply sys-bitcoin.configure-gateway
sudo qubesctl --skip-dom0 --targets=tpl-electrum-builder state.apply electrum.install-builder
sudo qubesctl --skip-dom0 --targets=tpl-electrum state.apply electrum.install
sudo qubesctl --skip-dom0 --targets=disp-electrum-builder state.apply electrum.configure-builder

View File

@ -8,6 +8,8 @@ base:
'dom0':
- match: nodegroup
- electrum.create
'sys-bitcoin-gateway':
- sys-bitcoin.configure-gateway
'tpl-electrum-builder':
- electrum.install-builder
'tpl-electrum':

View File

@ -30,7 +30,7 @@ This formula depends on [sys-bitcoin](../sys-bitcoin/README.md).
```sh
sudo qubesctl top.enable sys-electrs
sudo qubesctl --targets=tpl-electrs-builder,tpl-sys-electrs,disp-electrs-builder,sys-electrs state.apply
sudo qubesctl --targets=sys-bitcoin-gateway,tpl-electrs-builder,tpl-sys-electrs,disp-electrs-builder,sys-electrs state.apply
sudo qubesctl top.disable sys-electrs
sudo qubesctl state.apply sys-electrs.appmenus
```
@ -41,6 +41,7 @@ sudo qubesctl state.apply sys-electrs.appmenus
```sh
sudo qubesctl state.apply sys-electrs.create
sudo qubesctl --skip-dom0 --targets=sys-bitcoin-gateway state.apply sys-bitcoin.configure-gateway
sudo qubesctl --skip-dom0 --targets=tpl-electrs-builder state.apply sys-electrs.install-builder
sudo qubesctl --skip-dom0 --targets=tpl-sys-electrs state.apply sys-electrs.install
sudo qubesctl --skip-dom0 --targets=disp-electrs-builder state.apply sys-electrs.configure-builder

View File

@ -8,6 +8,8 @@ base:
'dom0':
- match: nodegroup
- sys-electrs.create
'sys-bitcoin-gateway':
- sys-bitcoin.configure-gateway
'tpl-electrs-builder':
- sys-electrs.install-builder
'tpl-sys-electrs':

View File

@ -30,7 +30,7 @@ This formula depends on [sys-bitcoin](../sys-bitcoin/README.md).
```sh
sudo qubesctl top.enable sys-electrumx
sudo qubesctl --targets=tpl-electrumx-builder,tpl-sys-electrumx,disp-electrumx-builder,sys-electrumx state.apply
sudo qubesctl --targets=sys-bitcoin-gateway,tpl-electrumx-builder,tpl-sys-electrumx,disp-electrumx-builder,sys-electrumx state.apply
sudo qubesctl top.disable sys-electrumx
sudo qubesctl state.apply sys-electrumx.appmenus
```
@ -41,6 +41,7 @@ sudo qubesctl state.apply sys-electrumx.appmenus
```sh
sudo qubesctl state.apply sys-electrumx.create
sudo qubesctl --skip-dom0 --targets=sys-bitcoin-gateway state.apply sys-bitcoin.configure-gateway
sudo qubesctl --skip-dom0 --targets=tpl-electrumx-builder state.apply sys-electrumx.install-builder
sudo qubesctl --skip-dom0 --targets=tpl-sys-electrumx state.apply sys-electrumx.install
sudo qubesctl --skip-dom0 --targets=disp-electrumx-builder state.apply sys-electrumx.configure-builder

View File

@ -8,6 +8,8 @@ base:
'dom0':
- match: nodegroup
- sys-electrumx.create
'sys-bitcoin-gateway':
- sys-bitcoin.configure-gateway
'tpl-electrumx-builder':
- sys-electrumx.install-builder
'tpl-sys-electrumx':