mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-18 04:21:17 +00:00
Update npm_container.sh
This commit is contained in:
parent
0b073ecdf0
commit
60e639a455
@ -74,7 +74,7 @@ function load_module() {
|
|||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
pushd $TEMP_DIR >/dev/null
|
pushd $TEMP_DIR >/dev/null
|
||||||
|
|
||||||
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/wip/npm_setup.sh
|
wget -qL https://raw.githubusercontent.com/tteck/Proxmox/main/npm_setup.sh
|
||||||
|
|
||||||
load_module overlay
|
load_module overlay
|
||||||
|
|
||||||
@ -156,4 +156,4 @@ pct push $CTID npm_setup.sh /npm_setup.sh -perms 755
|
|||||||
pct exec $CTID /npm_setup.sh
|
pct exec $CTID /npm_setup.sh
|
||||||
|
|
||||||
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 | sed -n '/inet / s/\// /p' | awk '{print $2}')
|
||||||
info "Successfully created a NPM LXC to $CTID at IP Address ${IP}:81"
|
info "Successfully created a NPM LXC to $CTID at IP Address ${IP}:81"
|
||||||
|
Loading…
Reference in New Issue
Block a user