Update alpine-install.func

This commit is contained in:
tteckster 2023-05-10 20:59:57 -04:00 committed by GitHub
parent d6148a5f0e
commit ac2225903e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,10 @@ msg_error() {
setting_up_container() { setting_up_container() {
msg_info "Setting up Container OS" msg_info "Setting up Container OS"
echo "export HOME=/root" >>/root/.profile echo "export HOME=/root" >>/root/.bashrc
echo "export TERM='xterm-256color'" >>/root/.profile echo "export TERM='xterm-256color'" >>/root/.bashrc
echo "cd ~" >>/root/.profile echo "cd ~" >>/root/.bashrc
. /root/.profile . /root/.bashrc
while [ $i -gt 0 ]; do while [ $i -gt 0 ]; do
if [ "$(ip addr show | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d'/' -f1)" != "" ]; then if [ "$(ip addr show | grep 'inet ' | grep -v '127.0.0.1' | awk '{print $2}' | cut -d'/' -f1)" != "" ]; then
break break