diff --git a/README.md b/README.md index 6d9ac93..539a571 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,8 @@ This will run the docker containers: ## Access the Development Container +In this project it is included a development container to facilitate the development of the code. The container when built the first time it is empty and there is a need to download the repository again inside the container to build the project. + ### Using VSCode Install `ms-vscode-remote.remote-ssh` extension on vscode and enter on the container. @@ -53,7 +55,11 @@ First you need to check you IP address. You can do it by running: Once you know your ip address you enter the container by doing: - ssh -p 55555 bisect@{your-ip-address} -XY + ssh -p 55555 nmos@{your-ip-address} -XY + +The password for the username is: + + nmos ## Access NVIDIA NMOS Commissioning Controller Container diff --git a/images/docker-compose-x86-development.yml b/images/docker-compose-x86-development.yml index 6243953..9454e2b 100755 --- a/images/docker-compose-x86-development.yml +++ b/images/docker-compose-x86-development.yml @@ -1,4 +1,3 @@ -version: "3" services: ossrf-dev: build: @@ -10,8 +9,6 @@ services: - PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native volumes: - ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native - - ../volumes/home:/home/bisect/ - - /.conan2:/home/bisect/.conan2:rw nmos-registry: image: docker.io/rhastie/nmos-cpp:latest diff --git a/images/scripts/common/add-ssh-server.sh b/images/scripts/common/add-ssh-server.sh index 0f2411e..cc602bf 100755 --- a/images/scripts/common/add-ssh-server.sh +++ b/images/scripts/common/add-ssh-server.sh @@ -19,6 +19,6 @@ echo "X11UseLocalhost no"; echo "Port ${SSHD_PORT}"; echo "PasswordAuthentication yes"; echo "Subsystem sftp /usr/lib/openssh/sftp-server"; -) > /etc/ssh/sshd_config_bisect +) > /etc/ssh/sshd_config_nmos mkdir /run/sshd diff --git a/images/scripts/launch.sh b/images/scripts/launch.sh index b9d74ed..dcc4f33 100755 --- a/images/scripts/launch.sh +++ b/images/scripts/launch.sh @@ -1,16 +1,16 @@ #!/bin/bash set -eu -HOME="/home/bisect" +HOME="/home/nmos" if [ -d $HOME ] then echo "Directory $HOME exists." - sudo chown bisect.bisect $HOME + sudo chown nmos.nmos $HOME else echo "Directory $HOME does not exist." mkdir $HOME fi # start ssh service -sudo /usr/sbin/sshd -D -e -f /etc/ssh/sshd_config_bisect +sudo /usr/sbin/sshd -D -e -f /etc/ssh/sshd_config_nmos