From b8730d5e74c418b211838893e7563226d4ab1ee2 Mon Sep 17 00:00:00 2001 From: vaspahomov Date: Wed, 1 Nov 2023 20:59:00 +0100 Subject: [PATCH] [cs+image] rename rusi_trainer -> rusi-trainer Signed-off-by: vaspahomov --- ansible/group_vars/all | 2 +- vuln_image/image.pkr.hcl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ansible/group_vars/all b/ansible/group_vars/all index 9df605c05..2750ffcdb 100644 --- a/ansible/group_vars/all +++ b/ansible/group_vars/all @@ -62,7 +62,7 @@ teams: | services: | {name => 'example', path => 'checkers/example/example.checker.py', timeout => 30, tcp_port => 2222}, {name => 'hyperborea-legends', path => 'checkers/hyperborea-legends/hyperborea-legends.checker.py', timeout => 30, tcp_port => 42424}, - {name => 'rusi_trainer', path => 'checkers/rusi_trainer/rusi_trainer.checker.py', timeout => 30, tcp_port => 41114}, + {name => 'rusi-trainer', path => 'checkers/rusi-trainer/rusi-trainer.checker.py', timeout => 30, tcp_port => 41114}, {name => 'rustest', path => 'checkers/rustest/rustest.checker.py', timeout => 30, tcp_port => 13337}, {name => 'sqlfs', path => 'checkers/sqlfs/sqlfs.checker.py', timeout => 30, tcp_port => 22}, {name => 'werk', path => 'checkers/werk/werk.checker.py', timeout => 30, tcp_port => 7654}, diff --git a/vuln_image/image.pkr.hcl b/vuln_image/image.pkr.hcl index 5dbfb8937..8dcdb3652 100644 --- a/vuln_image/image.pkr.hcl +++ b/vuln_image/image.pkr.hcl @@ -58,7 +58,7 @@ build { # Add users for services "useradd -m -s /bin/bash example", "useradd -m -s /bin/bash hyperborea-legends", - "useradd -m -s /bin/bash rusi_trainer", + "useradd -m -s /bin/bash rusi-trainer", "useradd -m -s /bin/bash rustest", "useradd -m -s /bin/bash sqlfs", "useradd -m -s /bin/bash werk", @@ -105,8 +105,8 @@ build { destination = "/home/hyperborea-legends/" } provisioner "file" { - source = "../services/rusi_trainer/" - destination = "/home/rusi_trainer/" + source = "../services/rusi-trainer/" + destination = "/home/rusi-trainer/" } provisioner "file" { source = "../services/rustest/" @@ -128,7 +128,7 @@ build { "docker-compose build || true", "cd ~hyperborea-legends", "docker-compose build || true", - "cd ~rusi_trainer", + "cd ~rusi-trainer", "docker-compose build || true", "cd ~rustest", "docker-compose build || true", @@ -141,7 +141,7 @@ build { "systemctl enable ructf-service@example", "systemctl enable ructf-service@hyperborea-legends", - "systemctl enable ructf-service@rusi_trainer", + "systemctl enable ructf-service@rusi-trainer", "systemctl enable ructf-service@rustest", "systemctl enable ructf-service@sqlfs", "systemctl enable ructf-service@werk",