mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-08-18 22:46:14 +02:00
Update pr-build.func (#2354)
* Update pr-build.func * Update pr-build.func
This commit is contained in:
committed by
GitHub
parent
879989b5b6
commit
221bbdeff3
@@ -131,6 +131,7 @@ msg_error() {
|
|||||||
echo -e "${msg}\n"
|
echo -e "${msg}\n"
|
||||||
}
|
}
|
||||||
start(){
|
start(){
|
||||||
|
base_settings
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -232,7 +233,6 @@ EOF
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# This starts the container and executes <app>-install.sh
|
# This starts the container and executes <app>-install.sh
|
||||||
msg_info "Starting LXC Container"
|
msg_info "Starting LXC Container"
|
||||||
pct start "$CTID"
|
pct start "$CTID"
|
||||||
@@ -255,5 +255,6 @@ EOF'
|
|||||||
}
|
}
|
||||||
|
|
||||||
description(){
|
description(){
|
||||||
|
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user