File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
testflows/github/hetzner/runners Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ def server_setup(
202
202
(
203
203
f"'sudo mkdir -p /mnt/{ volume_name } /apt-archives /mnt/{ volume_name } /apt-lists /var/cache/apt/archives /var/lib/apt/lists "
204
204
f"&& sudo mount --bind /mnt/{ volume_name } /apt-archives /var/cache/apt/archives "
205
- f"&& sudo mount --bind /mnt/{ volume_name } /cache/ apt-lists /var/lib/apt/lists'"
205
+ f"&& sudo mount --bind /mnt/{ volume_name } /apt-lists /var/lib/apt/lists'"
206
206
),
207
207
stacklevel = 5 ,
208
208
)
Original file line number Diff line number Diff line change 24
24
25
25
from .actions import Action
26
26
from .config import Config
27
- from .server import ssh_command
27
+ from .server import ssh_command , ip_address
28
28
from .scale_up import server_name_prefix , runner_name_prefix , get_volume_name
29
29
from .hclient import HClient as Client
30
30
from .request import request
@@ -150,6 +150,7 @@ def list(args, config: Config):
150
150
f"{ 'status' :11} " ,
151
151
f"name," ,
152
152
"id," ,
153
+ "ip," ,
153
154
"type," ,
154
155
"location," ,
155
156
"image," ,
@@ -167,6 +168,7 @@ def list(args, config: Config):
167
168
f"{ server .status :11} " ,
168
169
f"{ server .name } ," ,
169
170
f"{ server .id } ," ,
171
+ f"{ ip_address (server )} ," ,
170
172
f"{ server .server_type .name } ," ,
171
173
f"{ server .datacenter .location .name } ," ,
172
174
f"{ server .image .name } ," ,
You can’t perform that action at this time.
0 commit comments