Skip to content

dockerized instance in a K8 cluster network isnt ready #41

@ncraig419

Description

@ncraig419

Have an issue with linuxgsm failing because the entrypoint.sh tries to download and install before the network is initialized.

can a delay be added to wait for a full response from the internet before it begins the processes in entrypoint-user.sh?

a simple while loop works but obviously not if I have to reload the docker image

#pause for network start
while ! ping -c 4 google.com > /dev/null;
do 
  echo -e "Waiting for internet connection."
  sleep 10
done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions