Skip to content

Commit b290b31

Browse files
authored
remove solana tenant config (#140)
1 parent 4f27e35 commit b290b31

3 files changed

Lines changed: 24 additions & 28 deletions

File tree

docs/DZ Mainnet-beta Connection.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,12 @@ The last step in setup was to disconnect from the network. This is to ensure tha
4242
To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero mainnet-beta**:
4343
```bash
4444
DESIRED_DOUBLEZERO_ENV=mainnet-beta \
45-
DESIRED_TENANT=solana \
46-
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
47-
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV -tenant $DESIRED_TENANT" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
48-
&& sudo systemctl daemon-reload \
49-
&& sudo systemctl restart doublezerod \
50-
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV --tenant $DESIRED_TENANT > /dev/null \
51-
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV and tenant $DESIRED_TENANT"
45+
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
46+
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
47+
&& sudo systemctl daemon-reload \
48+
&& sudo systemctl restart doublezerod \
49+
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
50+
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
5251
```
5352

5453
You should see the following output:

docs/DZ Testnet Connection.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,12 @@ The last step in setup was to disconnect from the network. This is to ensure tha
9292
To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero testnet**:
9393
```bash
9494
DESIRED_DOUBLEZERO_ENV=testnet \
95-
DESIRED_TENANT=solana \
96-
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
97-
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV -tenant $DESIRED_TENANT" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
98-
&& sudo systemctl daemon-reload \
99-
&& sudo systemctl restart doublezerod \
100-
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV --tenant $DESIRED_TENANT > /dev/null \
101-
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV and tenant $DESIRED_TENANT"
95+
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
96+
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
97+
&& sudo systemctl daemon-reload \
98+
&& sudo systemctl restart doublezerod \
99+
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
100+
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
102101
```
103102
You should see the following output:
104103
```

docs/Permissioned Connection.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,24 +28,22 @@ The last step in setup was to disconnect from the network. This is to ensure tha
2828
To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero testnet**:
2929
```bash
3030
DESIRED_DOUBLEZERO_ENV=testnet \
31-
DESIRED_TENANT=solana \
32-
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
33-
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV -tenant $DESIRED_TENANT" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
34-
&& sudo systemctl daemon-reload \
35-
&& sudo systemctl restart doublezerod \
36-
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV --tenant $DESIRED_TENANT > /dev/null \
37-
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV and tenant $DESIRED_TENANT"
31+
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
32+
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
33+
&& sudo systemctl daemon-reload \
34+
&& sudo systemctl restart doublezerod \
35+
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
36+
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
3837
```
3938
To configure the DoubleZero Client CLI (`doublezero`) and daemon (`doublezerod`) to connect to **DoubleZero mainnet-beta**:
4039
```bash
4140
DESIRED_DOUBLEZERO_ENV=mainnet-beta \
42-
DESIRED_TENANT=solana \
43-
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
44-
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV -tenant $DESIRED_TENANT" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
45-
&& sudo systemctl daemon-reload \
46-
&& sudo systemctl restart doublezerod \
47-
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV --tenant $DESIRED_TENANT > /dev/null \
48-
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV and tenant $DESIRED_TENANT"
41+
&& sudo mkdir -p /etc/systemd/system/doublezerod.service.d \
42+
&& echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/doublezerod -sock-file /run/doublezerod/doublezerod.sock -env $DESIRED_DOUBLEZERO_ENV" | sudo tee /etc/systemd/system/doublezerod.service.d/override.conf > /dev/null \
43+
&& sudo systemctl daemon-reload \
44+
&& sudo systemctl restart doublezerod \
45+
&& doublezero config set --env $DESIRED_DOUBLEZERO_ENV > /dev/null \
46+
&& echo "✅ doublezerod configured for environment $DESIRED_DOUBLEZERO_ENV"
4947
```
5048

5149
You should see the following output:

0 commit comments

Comments
 (0)