Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
# Function to print the current hostname and user details
|
| 4 |
print_host_details() {
|
| 5 |
#echo "0.0.0.0 abc" | sudo tee -a /etc/hosts
|
| 6 |
-
echo "* The hostname of this container is: $(cat /etc/hostname)"
|
| 7 |
echo "* The host of this container is: $(cat /etc/hosts)"
|
| 8 |
echo "* The Sudoers of this container is: $(cat /etc/sudoers)"
|
| 9 |
echo "* ID of the user running the script:($whoami) *ID : $(id -u) * Group: $(id -g)"
|
|
|
|
| 3 |
# Function to print the current hostname and user details
|
| 4 |
print_host_details() {
|
| 5 |
#echo "0.0.0.0 abc" | sudo tee -a /etc/hosts
|
| 6 |
+
echo "* The hostname of this container is: $(cat /etc/hostname). PWD $(pwd)"
|
| 7 |
echo "* The host of this container is: $(cat /etc/hosts)"
|
| 8 |
echo "* The Sudoers of this container is: $(cat /etc/sudoers)"
|
| 9 |
echo "* ID of the user running the script:($whoami) *ID : $(id -u) * Group: $(id -g)"
|