Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aweher/lab-lacnog-menu
https://github.com/aweher/lab-lacnog-menu
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aweher/lab-lacnog-menu
- Owner: aweher
- License: gpl-3.0
- Created: 2022-09-14T20:44:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-19T14:48:08.000Z (over 2 years ago)
- Last Synced: 2023-02-26T15:36:06.237Z (almost 2 years ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lab Console menu
## How to deploy
```bash
sudo su
apt install -y python3-pip python3-venv
mkdir -p /opt/lacnog-labs/vxlan-evpn
cp *.py /opt/lacnog-labs/vxlan-evpn/
cp shellmenu.sh /opt/lacnog-labs/vxlan-evpn/
cd /opt/lacnog-labs/vxlan-evpn/
python3 -m venv .venv
chmod 755 /opt/lacnog-labs/vxlan-evpn/shellmenu.sh
source ./.venv/bin/activate
pip install -U colorama clint pyfiglet
echo "/opt/lacnog-labs/vxlan-evpn/shellmenu.sh" >> /etc/shells# Add a username with this shell defined
useradd -m -s /opt/lacnog-labs/vxlan-evpn/shellmenu.sh lablacnog
passwd lablacnog
```