From a6ee3c0109afc0cb106d9d4a0898b11f0d96e300 Mon Sep 17 00:00:00 2001 From: Shannon Byrnes Date: Thu, 30 Jan 2025 15:42:10 -0700 Subject: [PATCH] Genericize for future workshops --- .../images/internet2_getting_started/Containerfile | 2 +- .../images/internet2_getting_started/workshop-init.sh | 2 +- pyproject.toml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal-lab-setup-assets/images/internet2_getting_started/Containerfile b/internal-lab-setup-assets/images/internet2_getting_started/Containerfile index 8f71c99..b10bb0e 100644 --- a/internal-lab-setup-assets/images/internet2_getting_started/Containerfile +++ b/internal-lab-setup-assets/images/internet2_getting_started/Containerfile @@ -27,7 +27,7 @@ RUN export PATH=$PATH:/sbin:/usr/sbin # Set the user's password via environment variable. Passwords must be set # to allow login. # Note: These variable was pre-defined by the lab orchestrator -ENV LONI_LAB_PASSWORD= +ENV LAB_PASSWORD= # Create an RSA key, required for SSH server. RUN ssh-keygen -A diff --git a/internal-lab-setup-assets/images/internet2_getting_started/workshop-init.sh b/internal-lab-setup-assets/images/internet2_getting_started/workshop-init.sh index 9c7395a..236f83e 100755 --- a/internal-lab-setup-assets/images/internet2_getting_started/workshop-init.sh +++ b/internal-lab-setup-assets/images/internet2_getting_started/workshop-init.sh @@ -3,7 +3,7 @@ # Set password for the user via environment variable. This allows each # unix container to have their own password passed in by clab, helping # to avoid one user from accidentally signing into another's container. -echo "clab:$LONI_LAB_PASSWORD" | chpasswd +echo "clab:$LAB_PASSWORD" | chpasswd # Enable highlighting in vim echo "syntax on" > /home/clab/.vimrc diff --git a/pyproject.toml b/pyproject.toml index e273d6a..80d9dd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [tool.poetry] -name = "2024-lonisummit-workshop-automation" +name = "getting-started-workshop" version = "0.1.0" description = "" authors = ["Shannon Byrnes "] readme = "README.md" -packages = [{include = "2024_lonisummit_workshop_automation"}] +packages = [{include = "getting-started-workshop"}] [tool.poetry.dependencies] python = "^3.9"