Skip to content

Commit

Permalink
Adjust copy action for the texas admin node. Need to use the -O optio…
Browse files Browse the repository at this point in the history
…n for scp. Also, comment out chassis1 rabbit for the time being.
  • Loading branch information
ajfloeder committed Oct 31, 2023
1 parent c0b389c commit d613450
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
39 changes: 20 additions & 19 deletions config/systems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,26 @@ systems:
workers: [tx-k8s-worker]
ports: ['5000-5999']
rabbits:
x9000c1j7b0n0:
{
0: x9000c1s0b0n0,
1: x9000c1s0b1n0,
2: x9000c1s1b0n0,
3: x9000c1s1b1n0,
4: x9000c1s2b0n0,
5: x9000c1s2b1n0,
6: x9000c1s3b0n0,
7: x9000c1s3b1n0,
8: x9000c1s4b0n0,
9: x9000c1s4b1n0,
10: x9000c1s5b0n0,
11: x9000c1s5b1n0,
12: x9000c1s6b0n0,
13: x9000c1s6b1n0,
14: x9000c1s7b0n0,
15: x9000c1s7b1n0,
}
# This machine is in constant churn with other testing
# x9000c1j7b0n0:
# {
# 0: x9000c1s0b0n0,
# 1: x9000c1s0b1n0,
# 2: x9000c1s1b0n0,
# 3: x9000c1s1b1n0,
# 4: x9000c1s2b0n0,
# 5: x9000c1s2b1n0,
# 6: x9000c1s3b0n0,
# 7: x9000c1s3b1n0,
# 8: x9000c1s4b0n0,
# 9: x9000c1s4b1n0,
# 10: x9000c1s5b0n0,
# 11: x9000c1s5b1n0,
# 12: x9000c1s6b0n0,
# 13: x9000c1s6b1n0,
# 14: x9000c1s7b0n0,
# 15: x9000c1s7b1n0,
# }
x9000c3j7b0n0:
{
0: x9000c3s0b0n0,
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ func checkNeedsUpdate(ctx *Context, name string, compute string, destination str

func copyToNode(ctx *Context, name string, compute string, destination string) error {
fmt.Printf(" Copying %s to %s at %s...", name, compute, destination)
if _, err := runCommand(ctx, exec.Command("scp", "-C", name, compute+":"+destination)); err != nil {
if _, err := runCommand(ctx, exec.Command("scp", "-OC", name, compute+":"+destination)); err != nil {
return err
}

Expand Down

0 comments on commit d613450

Please sign in to comment.