Forgot to delete this script

This commit is contained in:
root 2025-01-18 18:55:31 -10:00
parent c6eabfca8b
commit 35c67e9b29

View File

@ -1,10 +0,0 @@
#!/bin/bash
# ANSI color codes
GREEN='\033[0;32m'
NC='\033[0m' # No Color
# Get primary IP address (excluding docker/vm interfaces)
IP_ADDRESS=$(ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v '^127\.' | head -n 1)
echo -e "${HOSTNAME} is now deployed at ${GREEN}${IP_ADDRESS}${NC}"