mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
code optimization (#1020)
This commit is contained in:
parent
94a5b030ca
commit
3c47725412
159 changed files with 315 additions and 393 deletions
|
@ -376,7 +376,7 @@ msg_info "Starting LXC Container"
|
|||
pct start $CTID
|
||||
msg_ok "Started LXC Container"
|
||||
lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit
|
||||
IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')
|
||||
IP=$(pct exec $CTID ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||
pct set $CTID -description "# ${APP} LXC
|
||||
### https://tteck.github.io/Proxmox/
|
||||
<a href='https://ko-fi.com/D1D7EP4GF'><img src='https://img.shields.io/badge/☕-Buy me a coffee-red' /></a>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue