Skip to content

Commit

Permalink
fix: depend on Bitcoin Gateway configuration
Browse files Browse the repository at this point in the history
Fix: #104
  • Loading branch information
ben-grande committed Oct 24, 2024
1 parent dbcef3d commit efe0fa6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion salt/electrum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions salt/electrum/init.top
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
3 changes: 2 additions & 1 deletion salt/sys-electrs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions salt/sys-electrs/init.top
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down
3 changes: 2 additions & 1 deletion salt/sys-electrumx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions salt/sys-electrumx/init.top
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit efe0fa6

Please sign in to comment.