mirror of https://github.com/tteck/Proxmox.git
Update debian10_container.sh
This commit is contained in:
parent
297f07f7ab
commit
05179c6668
|
@ -151,9 +151,9 @@ pct unmount $CTID && unset MOUNT
|
||||||
# Setup container
|
# Setup container
|
||||||
msg "Starting LXC container..."
|
msg "Starting LXC container..."
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
pct push $CTID setup.sh /setup.sh -perms 755
|
pct push $CTID debian10_setup.sh /debian10_setup.sh -perms 755
|
||||||
pct exec $CTID /setup.sh
|
pct exec $CTID /debian10_setup.sh
|
||||||
|
|
||||||
# Get network details and show completion message
|
# Get network details and show completion message
|
||||||
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 LXC Container to $CTID at IP Address ${IP}"
|
info "Successfully created a Debian 10 LXC Container to $CTID at IP Address ${IP}"
|
||||||
|
|
Loading…
Reference in New Issue